Index: CHANGES.html =================================================================== --- CHANGES.html (revision 6274) +++ CHANGES.html (revision ) @@ -39,7 +39,8 @@
New features:
Fixed issues:
Index: _source/plugins/styles/plugin.js =================================================================== --- _source/plugins/styles/plugin.js (revision 6275) +++ _source/plugins/styles/plugin.js (revision ) @@ -367,7 +367,7 @@ // Gets the parent element which blocks the styling for an element. This // can be done through read-only elements (contenteditable=false) or - // elements with the "data-cke-nostyle" attribute. + // elements with the "data-nostyle" attribute. function getUnstylableParent( element ) { var unstylable, @@ -378,7 +378,7 @@ if ( element.getName() == 'body' ) break; - if ( element.getAttribute( 'data-cke-nostyle' ) ) + if ( element.getAttribute( 'data-nostyle' ) ) unstylable = element; else if ( !editable ) { @@ -473,7 +473,7 @@ var nodeType = currentNode.type; var nodeName = nodeType == CKEDITOR.NODE_ELEMENT ? currentNode.getName() : null; var nodeIsReadonly = nodeName && ( currentNode.getAttribute( 'contentEditable' ) == 'false' ); - var nodeIsNoStyle = nodeName && currentNode.getAttribute( 'data-cke-nostyle' ); + var nodeIsNoStyle = nodeName && currentNode.getAttribute( 'data-nostyle' ); if ( nodeName && currentNode.data( 'cke-bookmark' ) ) { Index: _source/plugins/colorbutton/plugin.js =================================================================== --- _source/plugins/colorbutton/plugin.js (revision 6241) +++ _source/plugins/colorbutton/plugin.js (revision ) @@ -220,7 +220,7 @@ function isUnstylable( ele ) { - return ( ele.getAttribute( 'contentEditable' ) == 'false' ) || ele.getAttribute( 'data-cke-nostyle' ); + return ( ele.getAttribute( 'contentEditable' ) == 'false' ) || ele.getAttribute( 'data-nostyle' ); } } });