Changes between Initial Version and Version 1 of Ticket #10471, comment 1


Ignore:
Timestamp:
May 27, 2013, 3:48:02 PM (11 years ago)
Author:
Daazku
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10471, comment 1

    initial v1  
    77    var filter = e.editor.filter;
    88   
    9     //Bypass the allow function and create a rule directtly
     9    //Bypass the allow function and create a rule directly
    1010    if (!filter._.rules.generic) {
    1111        filter._.rules.generic = [];
    1212    }
    1313    filter._.rules.generic.push({
    14         //Thanks to optimiserule funtions are allowed
     14        //Thanks to "optimizeRule", funtions are allowed
    1515        attributes: function(attribute) {
    1616            return /data-+/.test(attribute);
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy