Skip to content
Permalink
Browse files

Merge branch 't/11178'

  • Loading branch information...
mlewand committed Dec 4, 2013
2 parents 54bbb72 + 5b30f5b commit 73b32732da3679b6bbe4e074665266c63784026a
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/wysiwygarea/plugin.js
@@ -163,7 +163,7 @@
doc.getDocumentElement().addClass( doc.$.compatMode );

// Prevent IE from leaving new paragraph after deleting all contents in body. (#6966)
editor.config.enterMode != CKEDITOR.ENTER_P && doc.on( 'selectionchange', function() {
editor.config.enterMode != CKEDITOR.ENTER_P && this.attachListener( doc, 'selectionchange', function() {
var body = doc.getBody(),
sel = editor.getSelection(),
range = sel && sel.getRanges()[ 0 ];

0 comments on commit 73b3273

Please sign in to comment.
You can’t perform that action at this time.