We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24629
    • 370 Posts
    Hi All,
    I found out that Tinymce of Modx (i can't figure out which), turns
    <iframe></iframe>
    into
    <iframe/>

    The Iframe is not supposed to be self closing so every time a client copy/pastes a Youtube embed code in their content the page stops rendering after the <iframe> tag.

    I realy cannot imagine i'm the first to encounter this. And i've seen some posts about Tinymce not dealing properly with <iframe> tags. but none delivered a solution for this problem.
    I added
    iframe[id|class|title|style|align|frameborder|height|longdesc|marginheight|marginwidth|name|scrolling|src|width] 

    to the tinymce_extended_valid_elements but it doesn't help.
    Putting the YT code in a chunk is hardly a solution.

    anyone any idea?
    Tnx
    Rdg