TinyMCE Advance + BBPress + Custom Button/Plugin
-
I’m working on a site that HAS to have a “custom” button on TinyMCE to insert a custom string for users through the visual editor on BBPress. It works fine through the wp-admin, but it has to work on the actual forum pages. I located where the failure happens – does anyone know how or what I need to replace this with in order for it to work with BBpress? Or any other hacks I can try?? (It’s basically selecting all the text, then I do a search for a specific item and add their custom string to that item):
var content = tinyMCE.get(‘content’).getContent();
Looking at the code, I though maybe it should be:
var content = tinyMCE.get(‘bb_topic_content’).getContent();
but that didn’t work either….
- You must be logged in to reply to this topic.