We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29902
    • 72 Posts
    Hi! My clients want to be able to copy/paste iframes into the content editor (google maps and so on), but the content editor removes the iframe tag. How can I make the content editor leave the iframe-tag alone?

    I know that I can make a chunk with the iframe and put that into the content editor, but this is too much for the client to understand.
      ...I believed it was Friday...
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      In the TinyMCE plugin configuration, add to the Custom Parameters
      extended_valid_elements : "iframe[src|class|width|height|name|align]",
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 29902
        • 72 Posts
        Thank you! That worked as a charm! I put it in the field "custom parameters" and hit the "Update parameter display" button and then saved the plugin smiley
          ...I believed it was Friday...

        This discussion is closed to further replies. Keep calm and carry on.