WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Mortrall
    Member
    Posted 1 year 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?

    http://wordpress.org/extend/plugins/ultimate-tinymce/

  2. Josh (WP Edit)
    Volunteer Moderator
    Plugin Author

    Posted 1 year 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:
    http://codex.wordpress.org/TinyMCE

    And here is a link to what's available in the tinymce initialization:
    http://www.tinymce.com/wiki.php/Configuration

    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

About this Topic