Skip to content

Commit

Permalink
Merge branch 't/11504'
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Feb 14, 2014
2 parents 8a6472a + b0b9ce4 commit 9c7de16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Expand Up @@ -19,6 +19,7 @@ Fixed Issues:
* [#11493](http://dev.ckeditor.com/ticket/11493): Fixed [`selection.getRanges`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.selection-method-getRanges) does not override cached ranges when used with `onlyEditables` argument.
* [#11390](http://dev.ckeditor.com/ticket/11390): All [XML](http://docs.ckeditor.com/#!/api/CKEDITOR.xml) plugin's methods work now on IE10+.
* [#11542](http://dev.ckeditor.com/ticket/11542): [IE11] Fixed: Blurry toolbar icons when right-to-left UI language is set.
* [#11504](http://dev.ckeditor.com/ticket/11504): Fixed: When `config.fullPage` is set `true`, entities are not encoded in editor's output.

## CKEditor 4.3.2

Expand Down
8 changes: 5 additions & 3 deletions core/htmlparser/element.js
Expand Up @@ -492,10 +492,12 @@ CKEDITOR.htmlParser.cssStyle = function() {
if ( !ctx.off && this.attributes[ 'data-cke-processor' ] == 'off' )
changes.push( 'off', true );

if ( !ctx.nonEditable && this.attributes[ 'contenteditable' ] == 'false' )
if ( !ctx.nonEditable && this.attributes.contenteditable == 'false' )
changes.push( 'nonEditable', true );
// A context to be given nestedEditable must be nonEditable first (by inheritance).
else if ( !ctx.nestedEditable && this.attributes[ 'contenteditable' ] == 'true' )
// A context to be given nestedEditable must be nonEditable first (by inheritance) (#11372).
// Never set "nestedEditable" context for a body. If body is processed then it indicates
// a fullPage editor and there's no slightest change of nesting such editable (#11504).
else if ( this.name != 'body' && !ctx.nestedEditable && this.attributes.contenteditable == 'true' )
changes.push( 'nestedEditable', true );

if ( changes.length ) {
Expand Down

0 comments on commit 9c7de16

Please sign in to comment.