Ultimate TinyMCE
[resolved] How can I prevent editor from stripping my code? (2 posts)

  1. Mortrall
    Posted 3 years ago #

    Could you help me, please.
    I like the editor, but I don't want it to strip ANY of my code lines. I don't want it to verify my code and clear it from "bad" classes, etc.
    How can I disable this filter, or function? In what file I need to hack?


  2. Josh
    Moderator and Editor Customizer
    Plugin Author

    Posted 3 years ago #

    Yeah... I think there is a membership list floating around somewhere for everyone wanting the same thing ;)

    Well, there are quite a few "hooks" and "filters" which let you modify different areas of the tinymce initialization process. Here is a link to the different wordpress tinymce filters:

    And here is a link to what's available in the tinymce initialization:

    So... it's just a matter of finding the right filters for what you are wanting for your needs.

    I do have an advanced premium plugin which allows you to modify these filters from the WP admin panel... otherwise, you will need to write a custom function to handle the additional initialization requests.

    I'd research the two links first... and make sure it's capable of doing what you need.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Ultimate TinyMCE
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic