Possible to paste links inside a button #12223
Labels
[Block] Buttons
Affects the Buttons Block
[Feature] Paste
[Feature] Rich Text
Related to the Rich Text component that allows developers to render a contenteditable
[Type] Bug
An existing feature does not function as intended
Milestone
The button block has format tools for bold, italic, and strikethrough. However, if you paste content it's possible to insert additional formatting, including links. This leads to nested links, which is not valid HTML.
Here's the button editor:
And copy/pasting some text with links results in this:
Looking at the HTML we have nested links:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Links to be stripped
The text was updated successfully, but these errors were encountered: