Changes between Initial Version and Version 2 of Ticket #10006


Ignore:
Timestamp:
Jan 31, 2013, 12:42:35 PM (11 years ago)
Author:
Piotrek Koszuliński
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10006

    • Property Status changed from new to confirmed
  • Ticket #10006 – Description

    initial v2  
    33Similar case: currently {{{<span>}}} is allowed because plugins like font, colorbutton allow styles which base on span elements. So when pasting e.g. {{{<span lang="pl">}}}, lang is filtered out, but {{{<span>}}} left.
    44
    5 In fact, span is a special case, because when it doesn't have any attrs/styles/classes it should be removed automatically. So, to simplify implementation we can make two fixes:
     5=== Proposed fix: ===
    66
    7 1. There should be a way to mark attrs/style/class as required. Element is marked by this rule as valid (element has to be valid, otherwise it will be filtered out) only if it has this required property.
    8 2. After applying filter, spans without attributes should be removed.
     7There should be a way to mark attrs/style/class as required. Element is marked by this rule as valid (element has to be valid, otherwise it will be filtered out) only if it has this required property.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy