Hi
It seems that the latest plugin update broke something. The “Copy” button stopped showing. I have the HTML Tag Selector set to “pre”.
]]>Getting lots of these entries in debug.log
[03-Oct-2024 11:12:33 UTC] PHP Notice: Function register_block_script_handle was called incorrectly. The asset file (.../copy-the-code/classes/gutenberg/blocks/copy-button/js/frontend.asset.php) for the "script" defined in "ctc/copy-button" block definition is missing.
[03-Oct-2024 11:12:33 UTC] PHP Notice: Function register_block_script_handle was called incorrectly. The asset file (.../copy-the-code/classes/gutenberg/blocks/copy-icon/js/frontend.asset.php) for the "script" defined in "ctc/copy-icon" block definition is missing.
Copy Anything to Clipboard 4.0.0, WordPress 6.3.5, PHP 8.1.x
]]>my WordPress website auto-updated this plugin today. Now my website shows only this here, and I can’t login to the backend because of that. So I need some ftp action when I find the time for it *sigh* …
(function($){$(function(){var user_agent=navigator.userAgent;var is_opera_edge;var browser=user_agent.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))/i)||[];var browser_name=”;var browser_class=”;if(/trident/i.test(browser[0])){browser_name=’ie’;}else if(browser[0]===’Chrome’){is_opera_edge=user_agent.match(/\b(OPR|Edge)/);if(is_opera_edge!==null){browser_name=is_opera_edge[0].replace(‘OPR’,’opera’);}} if(”===browser_name){if(‘standalone’in window.navigator&&!window.navigator.standalone){browser_name=’uiwebview’;}else{browser_name=browser[0]&&”!==browser[0]?browser[0]:navigator.appName;}} browser_name=browser_name.toLowerCase();switch(browser_name){case’msie’:browser_class=’ie’;break;case’firefox’:browser_class=’gecko’;break;default:browser_class=browser_name;break;} if(user_agent.match(/iPhone/)){browser_class+=’ iphone’;} $(‘body’).addClass(browser_class);});})(jQuery);
]]>On all of my websites using the plugin, the content loads and then the element to which the copy button is attached (e.g. H1) moves slightly up/down as the copy button is displayed.
If the button is set to be on top, the content is pushed down.
Is this behavior normal?
Is there a way to load the button together with the content?
This is quite irritating as it creates a content move effect, similar to the one when you have advertisements displaying in your content – the content is loaded first and then it starts moving in order for the ads to take their place…
I hope my explanation is clear enough.
]]>Hi
I use your Copy Anything to Clipboard plugin. “Cron Events” shows that the hook: copy_the_code_tracker_send_event, has a recursion of “Once a week” and that it has an Action of “None”. Arguments: None. This triggers approximately every 10 seconds. It cannot be edited or deleted. This must be your hook, because when I disabled your plugin, I went to the hook editing form. Is it supposed to be done like this – about every 10 seconds? Two screenshots:
https://drive.google.com/file/d/1z80a_uYjBQ64CcTLCwS9Uv-fUW39Gm4u/view?usp=drive_link
https://drive.google.com/file/d/12wTkDutWdxYUyoDl-eSk1ygGWYcwXW6w/view?usp=drive_link
]]>Hello
Love your plugin. However,….
The copy animation still does not work for the shortcode despite the fix. It works for 3.7.0 but not for the latest version 3.8.1 that was supposed to fix the issue. I have tested it on several sites. When I rollback to 3.7.0 it works fine. (Also your contact form on your Web site does not work, it gives ythe following error message “The form was unable to submit. Please contact the site administrator.”)
Regards
WSWR
Just using the basic inline code from the docs and not getting the animation for “copied!”. Any ideas here?
]]>Enabling the plug-in will destroy the Width Full style of ROW
]]>Hi there,
I’m not sure when the issues first appeared, but running the latest 3.7.0 version I decided to remove the plugin.
During a monthly website audit, I found the plugin causes significant pagespeed impact on the entire website (even pages not using the plugin) & loads files where it shouldn’t.
Let me explain:
If these issues are not addressed I can no longer recommend this plugin. Which is a shame, because otherwise, I like what it does.
Thanks
]]>Test page access is copy-demo
Try to copy the code and the buggy behaviour is:
as this is just for demonstration, we use some spaces in other code places and it gets removed as such code is hard to read after copy-paste, there is no block building plugin used its simple gutenberg <code> element
Origianl code:
/*
* Copyright (c) 2022 Nordic Semiconductor
* SPDX-License-Identifier: Apache-2.0
*/
&pinctrl {
};
Copied code:
/*
* right (c) 2022 Nordic Semiconductor
* SPDX-License-Identifier: Apache-2.0
*/
&pinctrl {
};
]]>
Hi. This is a great plugin. However, I’d like to know if in the next version, you could find a way to prevent the plugin’s *.css and *.js files from loading on posts and pages that do not use the plugin? My site has around 50 posts, but it is only using the plugin’s functionality on 4 posts. However, it seems like the following *.css and *.js files are being loaded on all posts and pages:
Source: /wp-content/plugins/copy-the-code/assets/css/copy-the-code.css
Source: /wp-content/plugins/copy-the-code/assets/js/copy-the-code.js
Source: /wp-content/plugins/copy-the-code/assets/js/clipboard.js
Source: /wp-content/plugins/copy-the-code/assets/css/copy-inline.css
Source: /wp-content/plugins/copy-the-code/assets/js/copy-inline.js
]]>Hi there, Thanks for all the recent Elementor updates. It would be great to have Dynamic Content support for content areas in the widgets. Its pretty easy to implement as Elementor have great documentation. https://developers.elementor.com/docs/editor-controls/dynamic-content/
]]>Hi, what an excellent plugin this is! I’ve been struggling to get this feature working with JS, therefore I am very glad to have found this plugin. Thank you for providing this to the community.
Is it possible to have the button copy text (in my case ‘copied’), remain on display after clicking? Currently, it reverts to the initial button text (in my case ‘copy’) soon after clicking on it.
I’ve looked through the documentation here: https://clipboard.agency/doc/ however, I cannot ascertain how to achieve the above.
Any help would be greatly appreciated. Kind regards,
Tim
]]>Hi, how do I copy text and open a link?
Thank you for developing this great plugin.
]]>Hi!
I’m using the css class and it when you hover over the text and click, it shows the “success” message as if it’s been copied. However, when you paste somewhere else it has not copied the text.
Any ideas?
P.s. click on one of the downloads on the page I linked in order to see the “click to copy” text.
Hi dear, your plugin is very cool, thank you!
I have a problem when I’m trying implement WP Grid Builder and your plugin, when I filter for example, one category, and click in the filter, the button for “copy to clipboard” disappear.
Thanks in advance! ??
]]>Hello dear friends! Thank you very much for this awesome plugin!
I tried to translate “Copied to Clipboard” text to Greek, using Loco, but it didn’t change. I figure that the change implements only to Elementor widget (which i don’t use). I am using this shortcode:
[copy text="Click Me" content="This is the content that will be copied"]
Is there a way i could fix it?
Thank you in advance.
Best regards.
I just bought the premium version (V2.5.6). When I try to activate it, I get this Fatal error:
Plugin could not be activated because it triggered a?fatal error.
Fatal error: Cannot redeclare copy_the_code_set_fresh_user() (previously declared in /var/www/ligue/wp-content/plugins/copy-the-code/copy-the-code.php:29) in?/var/www/ligue/wp-content/plugins/copy-the-code-premium/copy-the-code.php?on line?31
This is kind of frustrating because I just spent money on the premium version.
What should I do to fix this error?
Plugin ID:2780
Site ID:13175330
Hello,
First of all, I really like this plugin because it is small and does what it is supposed to do.
Still, I have a feature request, or maybe it’s already implemented and I just can’t find how to enable it.
Is there a way to show line numbers? Only for readability of the code/text. The line numbers should not be copied when copying the text to the clipboard.
Greetings,
Andy
I’m trying to allow the user to copy a passed variable from the previous page form to a results page, but I’m not having any luck. (I can’t get your websites to pull up today or I would contact you there)
[get_param param=”my-testimonial”] is the code, but when I put the copy shortcode tags around it, it will not work as the get_param function ceases to work at that point. I’ve also tried a combination but it’s not working either.
This variable is also passed through the URL of the page if that helps.
Context: User submits testimonial on previous page, on the next page they are thanked and asked if they want to share that testimonial on google. I’m trying to give them the option to copy their text here on this page to make it easy.
Thanks!
Hello Mahesh..wonderful and a neat plugin.
I was wondering if it was possible to click on a link to copy the URL (not the URL text) to clipboard. Does your plugin offer that and if so, how.?
Thank and good luck
Brij.
]]>Hello. You’re plug-in is great and almost perfect for my use case. However, I find that when it is installed, the font size of my text to be copied inside the code block is being fixed to its default size and cannot be increased.
I need to be able to increase the font size inside the code block, to catch the reader’s attention. Can you suggest a workaround for this? Thanks!
]]>Hello. I’m using your Copy Anything to Clipboard plugin, for which many thanks (it’s great). I’ve received an alert that the plugin has a security vulnerability. You can find details here: https://www.wordfence.com/threat-intel/vulnerabilities/detail/freemius-sdk-259-reflected-cross-site-scripting-via-fs-request-get?page=11#jump
Are you able to patch this vulnerability please?
Kind regards
Richard
I want to add edit button in frontend to copy anything to clipboard plug in. Because instant editing from frontend is way quicker than default edit option. How can I?
]]>Hi,
Thank you for this great plugin.
However, I am facing the following issue:
How can make sure that double quotation marks will be properly copied and paste ?
[copy content="/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)""]?? Copy to Clipboard[/copy]
I tried using the corresponding HTML entity codes of double quotation marks (") but no luck; it copies the string exactly as it is and does not replace it with the double quotation marks:
[copy content="/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)""]?? Copy to Clipboard[/copy]
Any ideas ?
Thanks in advance for the support.
]]>
Hello, please how do i make this copy a value from a shortcode? Tried the options below but still does not work. Instead it copies the shortcode without allowing it to render the value.
[copy content="[affiliate_referral_url url='https://app.example.com/']"]https://app.example.com[/copy]
[copy][affiliate_referral_url url='https://app.example.com/'][/copy]
]]>
Hi, I want to have COPY button as per my choice , currently there are 2 positions outside and outside, But I want to position the button as per my choice, See in the link provided .
https://prnt.sc/JSj9m1UWF8SM
Hello,
Same as: https://www.ads-software.com/support/topic/html-tags-are-being-copied-wrong/
Im still experiencing this issue with the latest plugin version, for example on this page when copied >
is converted to >
Any thoughts?
]]>Thank You for your useful plugin
Is there any chance that after clicking and copying text
after 3sec redirect user to any site.
and we can change that site url to multi site.
I mean we can use the filter to change Both text and site
]]>Hi,
thanks for a good plugin.
I use the shortcode and with that, I can change the “Copied!” text.
But how to change the mouseover text “Copy to Clipboard”? I can edit the translations with WPML, but how about the original English text, how to edit it?
]]>