Copied to clipboard

Flag this post as spam?

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


  • Marcus 42 posts 183 karma points
    Dec 14, 2023 @ 10:55
    Marcus
    0

    Rich Text Editor (TinyMCE) automatically format HTML code after submitting

    Hi guys.

    I copy html code from external text editor like wordpress, etc... to our RTE (TinyMCE) in umbraco then click submit and the source code is formatted and generated a different html structure when viewing the content in browser.

    Do you know why?

    Many thank

  • Ali 32 posts 125 karma points
    Dec 14, 2023 @ 11:56
    Ali
    1

    Hi,

    After pasting text into RTE, you can try clear fomatting by selecting the text and pressing Clear formatting, highlighted below.

    enter image description here

    Or you can try pasting your text into notepad and then copy it from notepad and finally paste it into RTE.

    If you dont find Clear formatting button, you need to enable it on the data type in Settings section in Umbraco.

    Kind regards

    Ali

  • Marcus 42 posts 183 karma points
    Dec 16, 2023 @ 14:12
    Marcus
    0

    Thanks for your help. But the format I am taking about is the structure of html script after clicking submit not style format

    Please see this post for more detail https://our.umbraco.com/forum/using-umbraco-and-getting-started/113256-how-to-use-another-text-editor#comment-348843

    Thank you!

  • Huw Reddick 1920 posts 6648 karma points MVP 2x c-trib
    Dec 14, 2023 @ 12:41
    Huw Reddick
    1

    Are you pasting in the WYSIWYG editor or the code editor window?

  • Marcus 42 posts 183 karma points
    Dec 16, 2023 @ 13:59
    Marcus
    0

    I am pasting in code editor window

Please Sign in or register to post replies

Write your reply to:

Draft