Support » Plugin: HTML Editor Syntax Highlighter » Filter Support?

  • Resolved henza

    (@henza)


    Firstly, just want to thank you for a GREAT plugin!

    I was wondering if there is support for filters? Some background; One of my clients has the need for a second content editor, which I added using this post as a guide.

    Issue was no autop or shortcodes. But I was able to add:

    add_filter('secondary_content', 'wpautop');
    add_filter('secondary_content', 'do_shortcode');

    Can I do something similar with your plugin to get syntax highlighting working with the secondary_content?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author James Bradford

    (@arniebradfo)

    This plugin is not related to filters. WP filters change the content after it is saved, just before it is presented. This plugin only changes the visual display of the code in the admin section of the site. It does not change the content in any way, only facilitates your changing it manually.

    Sorry I don’t think I can help you with this directly.

Viewing 1 replies (of 1 total)
  • The topic ‘Filter Support?’ is closed to new replies.