Changes between Version 1 and Version 3 of Ticket #9829
- Timestamp:
- Dec 14, 2012, 8:31:09 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9829
- Property Cc wim.leers@… added
-
Property
Status
changed from
new
toconfirmed
-
Ticket #9829 – Description
v1 v3 1 1 The basic idea is introducing filtering that acts on the HTML accepte by the editor and the feature available in it. 2 2 3 *An as easy as possible way to configure the elements, attributes and transformations (e.g. <b> to <strong>) that the editor should support.3 1. An as easy as possible way to configure the elements, attributes and transformations (e.g. <b> to <strong>) that the editor should support. 4 4 5 *By default, this configuration is defined by the plugins available in the editor. E.g. remove the link plugin and <a> will not any more be accepted.5 2. By default, this configuration is defined by the plugins available in the editor. E.g. remove the link plugin and <a> will not any more be accepted. 6 6 7 *Developers can define this configuration. At that point, plugins, or part of their features, get enabled/disabled based on the configuration.7 3. Developers can define this configuration. At that point, plugins, or part of their features, get enabled/disabled based on the configuration. 8 8 9 *All data input (especially paste) in the editor will be then filtered, based on the configuration. Transformations first and then elements/styles checks.9 4. All data input (especially paste) in the editor will be then filtered, based on the configuration. Transformations first and then elements/styles checks. 10 10 11 *Input data normalization will take place before filtering, bringing to an acceptable DOM structure.11 5. Input data normalization will take place before filtering, bringing to an acceptable DOM structure. 12 12 13 *Special pasting plugins, like Paste from Word, will be reviewed to use the normalization+filtering system.13 6. Special pasting plugins, like Paste from Word, will be reviewed to use the normalization+filtering system. 14 14 15 15 As a result only allowed HTML will reach the contents and only allowed plugins (or their features) will be enabled.