You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pasting text in the middle of a link, the link is split (pasted text is not part of the link).
This makes it impossible to quickly change the link text via copy/paste.
Steps to reproduce
Select some text and create a link.
Copy some small inline text.
Place cursor within the link and paste.
Expected behavior:
Pasted text becomes part of the link.
Actual behavior:
Pasted text is not part of the link, and the link is split in two pieces.
Screenshot:
Note:
This issue was found in Gutenberg (WordPress/gutenberg#11571) and already has a fix there: WordPress/gutenberg#14815 . It may be possible to port some / all of the code changes in this PR to packages/block-editor/src/components/rich-text/index.native.js to fix the same issue on mobile.
The text was updated successfully, but these errors were encountered:
Describe the bug
When pasting text in the middle of a link, the link is split (pasted text is not part of the link).
This makes it impossible to quickly change the link text via copy/paste.
Steps to reproduce
Expected behavior:
Pasted text becomes part of the link.
Actual behavior:
Pasted text is not part of the link, and the link is split in two pieces.
Screenshot:
Note:
This issue was found in Gutenberg (WordPress/gutenberg#11571) and already has a fix there: WordPress/gutenberg#14815 . It may be possible to port some / all of the code changes in this PR to
packages/block-editor/src/components/rich-text/index.native.js
to fix the same issue on mobile.The text was updated successfully, but these errors were encountered: