I used to use “Category Description Editor” plugin and I’ve always think about “Media bar” to insert images solution. Your plugin doing such importamt thing well, but there is one problem here – it is removing
<br />tags each time I loading some data to edit and each time when I try to save data back and when I toggle html to wysiwyg mode vice-verse.
remove_filter( 'pre_term_description', 'wpautop' )helps to prevent “on load” filtering, but I can’t find solution for other cases: toggling and saving.
What’s interesting (to me) is that the
tags aren’t ACTUALLY being removed, at least from what I can tell. You can still use something like
wpautop( $term->description );
… to have it display correctly in your theme.
I completely agree that this is a great plugin. I’m sure this is just a small bug.
Yes, Nabha absolutely right. It’s working solution till the author make change for TinyMCE.init.
The ugly solution I have – TinyMCE Advanced Plugin install and configuratin it for
Stop removing the <p> and <br /> tags when saving and show them in the HTML editor. It is using
wpautop()like Nabha do.
Oh, I see — thanks, mebrand. So it is removing the tags, but wpautop puts them back in.
Yes, I came across the suggestion of using TinyMCE.init, as well, but didn’t see it in the plugin, and didn’t have time at the moment to figure out how to set it up. But I imagine that is the right way to fix it, as you say.
This should be fixed in Version 1.2, just released. Please confirm that this update has fixed the problem – it did for me.
Thanks for posting these issues – it helps make a better plugin for everyone!
- The topic ‘[Plugin: Rich Text Tags] filter’ is closed to new replies.