All details are clear by now and this is the next thing I'm going to implement:
- Default parsing mode will be HTML. BBcodes will be converted to HTML.
- Alternatively, there will be an option when migrating to Siena to keep bbcodes and disable HTML.
- There will be only one field to store text, no more page_html or fp_html. The actual sequence will be as this (in pseudocode):
$text = get_post_contents();
$text = apply_html_filters($user_group[, $special_location]); // Filter settings are based on user group, there also will be optional sets for special locations
$text = apply_bbcodes(); // Applies bbcodes over html, if there are any. Good to make shortcuts or special things like [hide]
$t->assign('SOME_VAR', $text);
- HTMLPurifier will be present as a plugin (on by default).
- CKEditor will be used as default editor.
May the Source be with you!