Closed (fixed)
Project:
Clipboard.js
Version:
2.1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2024 at 20:58 UTC
Updated:
12 Feb 2025 at 15:19 UTC
Jump to comment: Most recent
The HTML specification does not allow a div element inside a button element, as is done in clipboardjs-textfield.html.twig.
Replace this element with a span element.
Ultimately, it would be a good idea to remove that wrapper element altogether, but that could cause compatibility issues with styles.
Agree on change. Implement.
None.
None.
None.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
liam morlandComment #4
tim-dielsThanks for the suggestion. I'll review this.
Comment #5
tim-dielsDoes not break anything for me.
Comment #7
tim-dielsFixed.