Ticket #8386: Workaround.patch
File Workaround.patch, 740 bytes (added by , 12 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
287 287 body = editor.document.getBody(), 288 288 enterMode = editor.config.enterMode; 289 289 290 290 CKEDITOR.env.gecko && activateEditing( editor ); 291 291 292 292 // When enterMode set to block, we'll establing new paragraph only if we're 293 293 // selecting inline contents right under body. (#3657) 294 if ( enterMode != CKEDITOR.ENTER_BR294 if ( enterMode == CKEDITOR.ENTER_DIV 295 295 && range.collapsed 296 296 && blockLimit.getName() == 'body' 297 297 && !path.block ) 298 298 { 299 299 editor.fire( 'updateSnapshot' ); 300 300 restoreDirty( editor ); 301 301 CKEDITOR.env.ie && restoreSelection( selection );