Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't paste links into Selected Text Range in the Controlled Tinymce #574

Open
runningincircle opened this issue Feb 24, 2025 · 0 comments

Comments

@runningincircle
Copy link

runningincircle commented Feb 24, 2025

What is the current behavior?

When pasting a link (eg, https://tinymce.github.io/tinymce-react/?path=/story/editor--controlled-input) in the selected text in the Controlled Tinymce Component - the selected text is removed completely. Cmd/ctrl+z restores the link with text though.

You can check here https://tinymce.github.io/tinymce-react/?path=/story/editor--controlled-input

What is the expected behavior?

The text must not be removed and look like the <a href="https://tinymce.github.io/tinymce-react/?path=/story/editor--controlled-input" target="_blank">text</a>

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or tinymce-react?

Windows 11, Mac OS. Chrome 132 - Confirmed. Also doesn't work in TinyMCE 6 with tinymce-react 3.13.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant