Skip to content

smart_paste doesn't detected pasted urls as link #611

Description

@hardikpedia

What is the current behavior?
With smart_paste: true, pasting a URL as plain text does not get converted into a hyperlink. The editor inserts the URL as plain text (no tag is created).

Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar.

Create a tinymce-react editor with TinyMCE 7.
Set smart_paste: true.
Paste a URL (example: https://example.com) into the editor.
Observe the inserted content (visually and/or via editor.getContent()).

You can also check in tinymce open source demo as well by enabling smart_paste and pasting a link.

What is the expected behavior?

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions