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.
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.