Are you ready?
GHengeveld |
|
---|---|
Considering all opinions and preferences, I'm convinced we should go for a multi-parser solution. My design would include the following:
- Multi parser, both BBcode and HTML - BBcode gets smart paragraphs instead of nl2br - HTML is cleaned using HTMLPurifier (upon submission) - We use two of the extra rights fields (the hidden ones) to configure which usergroup can use which parser (i.e. both HTML and BBcode for moderators and up) for each site area/plugin. Alternatively we add 2 custom fields. - We use only one field for the text (BBcode or HTML), but use another to store which parser is applicable. This keeps redundancy to a minimum. - All editors (Markitup, TinyMCE, CKeditor) are configured as plugins. Which two will be included in the Cotonti package (if any) is yet to be defined. |