Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, I've just noticed a strange behavior of TinyMCE.
If you write a plain text in the RTE, then copy a word from it and paste it in the same RTE, the "pasted" text is surrounded in a <span> tag
<span>
<p>Hello Word</p>
after pasting becomes
<p>Hello Word <span>Word</span></p>
Is there a way to prevent this from happening? Seems useless
Thx
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Stop TinyMCE to add span when copying text
Hi, I've just noticed a strange behavior of TinyMCE.
If you write a plain text in the RTE, then copy a word from it and paste it in the same RTE, the "pasted" text is surrounded in a
<span>
tagafter pasting becomes
Is there a way to prevent this from happening? Seems useless
Thx
is working on a reply...