Hi Nikolaj,
Thank you for your comments.
- You don’t see the mouse-over label changing from “Click to Copy” to “Copied!” ??
- In regards to the cursor change. It’s WordPress default behavior to turn into a cursor so users can selectively decide which text to highlight.
I didn’t have any plans but if you have suggestions, I can consider them.
Thread Starter
NIWO
(@niwo)
If you visit the page I shared in my post, you can check it for yourself.
I don’t see any visual indicators.
Maybe it is due to using the theme Divi?
Regards
Ahhh, so sorry I missed that. That’s very strange. If you put it on a page without DIVI does it work?
I wasn’t able to see that page. But perhaps you can try using just a manual HTML block in DIVI instead of their built-in code block function?
I’m sorry…my plugin is super super simple. It shouldn’t and hasn’t conflicted with any other plugin. I’m curious to know what DIVI is doing differently.
Thread Starter
NIWO
(@niwo)
Sorry, I did edit the link.
Divi doesn’t have an HTML module.
I did try it with the code and text module.
None of them are showing the visual indicator.
-
This reply was modified 5 years, 11 months ago by
NIWO.
I’m poking through it and I’m sorry but there’s JS conflict between DIVI and my plugin.
If you look in frontend source code, you can search for “codecopy” and you see my inline JS loads just fine. Maybe you have other JS optimization going on or I don’t know what but it’s hard to diagnose any further without admin, FTP access, and such.
Have you tried other code-copy plugins?
Thread Starter
NIWO
(@niwo)
I did deactivate all plugins, except the admin controls.
The issue is still there.
I tried to find another plugin to do the job, but couldn’t find one without a button to copy to clipboard and a visual indicator like with your plugin.
Can you suggest one?
Regards
Like I said…the issue is DIVI. I wish I could diagnose more but I don’t have any access. From what I see…my plugin is loading the required code just fine. Just that something DIVI is doing is interrupting the JS. Maybe you can adjust DIVI JS optimizations.
Unfortunately, I don’t know any other plugins without a button. I was frustrated and looking for a while, that’s why I created my own. π
Thread Starter
NIWO
(@niwo)
I can create an example website for you with Divi installed and admin access and with FTP access.
If this helps to move your plugin forward, I’ll do it right away.
Thread Starter
NIWO
(@niwo)
Feature Request
Will be great if your plugin could work with Divi and have a more attractive visual indicator. π
See video for a demo:
https://www.loom.com/share/140edbff5b3c47cb842ed494489a6c3a
I’m closing this now and making a mental note that it doesn’t work with DIVI.
Thread Starter
NIWO
(@niwo)
Hey,
did you receive my mail with the login?
Do you still that login?
Regards
I didn’t. And honestly…I don’t expect much to be compatible with DIVI. It’s one of my least favorite WordPress extensions.
Thread Starter
NIWO
(@niwo)
I understand. π
Thank you very much for your time.
Regards
I forgot to ask…did you already try a manual HTML block within the DIVI builder? Try the code below.
<pre class="wp-block-code"><code>Your code here.</code></pre>