Skip to content

Commit

Permalink
Merge branch 't/11178'
Browse files Browse the repository at this point in the history
  • Loading branch information
mlewand committed Dec 4, 2013
2 parents 54bbb72 + 5b30f5b commit 73b3273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/wysiwygarea/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down

0 comments on commit 73b3273

Please sign in to comment.