Jump to:

1016 Posts in 567 Topics by 309 members

Forum Module

SilverStripe Forums » Forum Module » Using the TinyMCE BBCode plugin?

Discuss the Forum Module.

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

Page: 1
Go to End
Author Topic: 480 Views
  • DryerLintPurple
    Avatar
    Community Member
    7 Posts

    Using the TinyMCE BBCode plugin? Link to this post

    TinyMCE has a BBCode plugin for forums 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 alternatives?). 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?

    480 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.