Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Forum Module /

Discuss the Forum Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Using the TinyMCE BBCode plugin?


Reply


2 Posts   1046 Views

Avatar
DryerLintPurple

Community Member, 7 Posts

9 October 2013 at 6:00pm

TinyMCE has a [url=http://www.tinymce.com/tryit/3_x/bbcode.php]BBCode plugin for forums[/url] available. Hell, it's already right there in the TinyMCE bundle that comes with SS framework. (\framework\thirdparty\tinymce\plugins\bbcode)

So, uh, why isn't it being used?

Granted, the plugin is based on punBB's dialect of BBCode, while IIRC SS uses whatever was on PEAR at the time (looked at any [url=https://packagist.org/search/?q=bbcode]alternatives[/url]?). So some tweaking would probably be needed, but the plugin is little more than a set of regexps, so I doubt it would take too much.

So what would be involved in this? Obviously you'd need a custom HTMLEditorConfig, and the post form would have to be changed to HTMLEditorField. But the actual data fields in the Forum module wouldn't need to change since it's still unparsed BBCode being sent from the user, right?

Avatar
davepolyester

Community Member, 47 Posts

24 June 2014 at 5:02pm

Did you ever make any headway with this? I have a client crying out for some simple WYSIWYG formatting for Posts in the Forum module.