It's not really a bug, but it's a bit "annoying" and could lead to error at some point.
The component Symfony WebProfilerBundle (the debug tool bar) are using the same html attribute as Clipboardjs. (code here)
ClipboardJs is working but there is do js code which is listening the same html attribute.
I was thinking, maybe you could change data-clipboard-text to data-clipboardjs-text.
Since it's BC, you can maybe let the user set the data name attribute he wants in the config to overwrite the default ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi,
First, thanks for you nice light tool :)
It's not really a bug, but it's a bit "annoying" and could lead to error at some point.
The component Symfony WebProfilerBundle (the debug tool bar) are using the same html attribute as Clipboardjs. (code here) ClipboardJs is working but there is do js code which is listening the same html attribute.
I was thinking, maybe you could change
data-clipboard-text
todata-clipboardjs-text
. Since it's BC, you can maybe let the user set the data name attribute he wants in the config to overwrite the default ?I'm using : clipboard 2.0.11
To Reproduce
Thanks