Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Simone Chiaretta 134 posts 541 karma points c-trib
    Oct 16, 2017 @ 09:34
    Simone Chiaretta

    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> tag

    <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


Please Sign in or register to post replies

Write your reply to: