Skip to content

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

@runningincircle

Description

@runningincircle

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions