Ticket #3657: 3657.patch
File 3657.patch, 796 bytes (added by , 15 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
120 120 enterMode = editor.config.enterMode; 121 121 122 122 // When enterMode set to block, we'll establing new paragraph if the 123 // current range is block-less within body.123 // current range contains only block-less inline elements within body. 124 124 if ( enterMode != CKEDITOR.ENTER_BR 125 125 && blockLimit.getName() == 'body' 126 && !path.block ) 126 && !path.block 127 && !( path.lastElement.getName() in CKEDITOR.dtd.$block ) ) 127 128 { 128 129 var selection = evt.data.selection, 129 130 range = evt.data.selection.getRanges()[0],