Changes between Version 6 and Version 23 of Ticket #9829


Ignore:
Timestamp:
Jan 27, 2013, 10:56:17 PM (11 years ago)
Author:
Piotrek Koszuliński
Comment:

I updated current status of works.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9829

    • Property Status changed from confirmed to assigned
    • Property Keywords Drupal added
    • Property Owner set to Piotrek Koszuliński
  • Ticket #9829 – Description

    v6 v23  
    11The basic idea is introducing filtering that acts on the HTML accepte by the editor and the feature available in it.
    22
    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.
     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.~~ Note: transformations part were extracted to #9989.
    44
    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.
     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.~~
    66
    7  3. 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.~~ Note: dialogs integration with allowed content filter was extracted to #9990.
    88
    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.
     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.~~
    1010
    11  5. 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.~~
    1212
    13  6. 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.~~ Extracted to #9991.
    1414
    15  7. Selection context participates on filtering as well. A <h1> editable should restrict the editor features accordingly. Another example, a selection inside <a> should not permit <a> elements being inserted.
     15 7. Selection context participates on filtering as well. A <h1> editable should restrict the editor features accordingly. ~~Another example, a selection inside <a> should not permit <a> elements being inserted.~~ **Status: 50%**
    1616
    1717As a result only allowed HTML will reach the contents and only allowed plugins (or their features) will be enabled.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy