We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 48390
    • 27 Posts
    Does someone know how to prevent TinyMCE from stripping my <section> tags?

    Thanks.
      • 49148
      • 10 Posts
      Heres what I do to get HTML tags to work:

      On the server navigate to: core/components/tinymce/templates/script.tpl

      You'll see this line: Tiny.config = <?php echo $this->modx->toJSON($this->properties); ?>;

      Add this line right after it: Tiny.config.valid_elements = "*(*)";

      Hope that helps!