X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fhtmldataprocessor%2Fplugin.js;h=ad6fa470b9ea54988e0016e3002e80aaeeed6858;hb=refs%2Ftags%2Fv3.6;hp=677d8f3cbdb58cb9397cd0d252f6a2d48a889d4d;hpb=1056598c95187351dc58f4991d331e2258d038b5;p=ckeditor.git diff --git a/_source/plugins/htmldataprocessor/plugin.js b/_source/plugins/htmldataprocessor/plugin.js index 677d8f3..ad6fa47 100644 --- a/_source/plugins/htmldataprocessor/plugin.js +++ b/_source/plugins/htmldataprocessor/plugin.js @@ -95,14 +95,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license delete blockLikeTags.pre; var defaultDataFilterRules = { - elements : { - a : function( element ) - { - var attrs = element.attributes; - if ( attrs && attrs[ 'data-cke-saved-name' ] ) - attrs[ 'class' ] = ( attrs[ 'class' ] ? attrs[ 'class' ] + ' ' : '' ) + 'cke_anchor'; - } - }, + elements : {}, attributeNames : [ // Event attributes (onXYZ) must not be directly set. They can become