Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

98
Views
React tinymce paste original url

I'm using TinyMce editor (4.1.0) in my react project, and I am struggling with a problem: when I paste some url copied in the clipboard, the editor replaces the url I want to paste with the title of the page of the url. How can I solve this? I managed to paste the url as plain text, but I want the text to be the url itself.

about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

I'm guessing you're using version 4.1.0 of the Tinymce-react integration, and not version 4.1.0 of the editor, which is an older edition now.

This sounds like the Enhanced Media Embed plugin replacing your URL with a card-styled embed when you paste it.

To clarify, do you find the URL changes to the title of the page after you paste and hit the enter key? Or is it automatic?

I tested out a copy and paste of a URL using a TinyMCE-react sandbox from a blog post on TinyMCE and react. Adding the Enhanced Media Embed plugin and pasting a URL created a preview URL. Turning it off, and pressing enter after pasting, kept the URL format.

I added the autolink plugin to turn the plain text URLs into a link after pasting and pressing enter.

The sandbox init:

init={{
            plugins: "autolink link",
            icons: "jam",
            skin: "fabric",
            content_css: "document",
            resize: false
          }}
about 4 years ago · Santiago Gelvez Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!