samclarke / SCEditor

A lightweight HTML and BBCode WYSIWYG editor
http://www.sceditor.com/
Other
663 stars 187 forks source link

Allow getting a build without all default BBCode and related buttons #402

Open brunoais opened 9 years ago

brunoais commented 9 years ago

Is it possible to allow getting a build without all the code related to markup-related buttons and default code for dealing with those buttons (inc. BBCode translations and button commands)?

For MyBB and phpBB, it seems that SCE's default implementations are not the best approach. In phpBB's case, it is moving towards all BBCode being custom BBcode, with that, predefined BBCode processing becomes a source of trouble. Because of that, all default definitions are a source of bloat that the user has to download.

Is there any viable solution for this (except manual editing before building)?

samclarke commented 9 years ago

I could move the defaults into a separate module and then add an option to exclude that when building. That should work while keeping everything simple.

brunoais commented 9 years ago

Only for the buttons that relate to an output. Buttons such as the one to trigger source mode and to maximize are not included in this.