Ticket #6098: 6098_2.patch
File 6098_2.patch, 801 bytes (added by , 14 years ago) |
---|
-
_source/plugins/bidi/plugin.js
121 121 enterMode = editor.config.enterMode, 122 122 ranges = selection.getRanges(); 123 123 124 if ( ranges )124 if ( ranges && ranges.length ) 125 125 { 126 126 // Apply do directly selected elements from guardElements. 127 127 var selectedElement = ranges[ 0 ].getEnclosedNode(); … … 170 170 171 171 while ( ( block = iterator.getNextParagraph( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ) ) 172 172 { 173 if ( block.isReadOnly() ) 174 continue; 175 173 176 var _break = 0; 174 177 175 178 // Check if block have been already processed by the walker above.