You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#115259 Pasting Plain Text not working with YouTube URL

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Monday, 13 November 2023 11:11 GMT

pwouda
Hi there,

When using the paste-button for Plain Text for pasting a YouTube URL, the URL is pasted as a html-link. The <a href>-tag is automaticaly added.
The result should be the same when using Ctrl-V directly in the tekst. Then it shows the YouTube video embeded in an iframe.

Kind regards,
Peter

Attachments

Ryan
Using Paste As Plain Text allows the url to be pasted into content as a URL, which might in some instances be required.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

pwouda
Hi Ryan,

I understand, but when pasting a URL with "Paste As Plain Text" I expect the URL to be pasted as plain text, not with a <a href> tag around it.
And then the YouTube url is a special case, because it is wrapped with an iframe. That only works with Ctrl-V, not with the paste-icons.

Regards,
Peter