Custom bbcode and WYSIWYG editor...again!
I've scoured this forum and seen the question asked several times, but never satisfactorily answered: How do you get a simple custom bbcode to render properly in the WYSIWYG editor? I'm using a patched vB 3.6.4, and I'm just trying to add two simple text formatting tools--strikethrough and superscript.
If I add icons via the BB Code Manager--the "approved" way of doing it--the code properly renders the formatted text in the posted message, but shows up as raw tags in the WYSIWYG editor, which irks and confuses my users. If I add the icons manually in the editor template, the code properly renders the formatted text in the WYSIWYG editor, but is stripped out of the posted message entirely. Surely there must be some relatively easy hack to a PHP or JS file that will get it to look right in both places! I've figured out every other vB development problem I've had, but I can't seem to crack this one. Any ideas?
|