Jump to:

1033 Posts in 809 Topics by 313 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: 845 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?

  • davepolyester
    Avatar
    Community Member
    47 Posts

    Re: Using the TinyMCE BBCode plugin? Link to this post

    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.

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