Ticket #5436: 5436.patch
File 5436.patch, 863 bytes (added by , 13 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
120 120 } 121 121 122 122 range.moveToPosition( lastElement, CKEDITOR.POSITION_AFTER_END ); 123 124 var next = lastElement.getNextSourceNode( true ); 125 if ( next && next.type == CKEDITOR.NODE_ELEMENT ) 126 range.moveToElementEditStart( next ); 127 123 124 // if we inserted a block element, make the cursor jump the next editalbe element( #5436) 125 if ( isBlock ) 126 { 127 var next = lastElement.getNextSourceNode( true ); 128 if ( next && next.type == CKEDITOR.NODE_ELEMENT ) 129 range.moveToElementEditStart( next ); 130 } 131 128 132 selection.selectRanges( [ range ] ); 129 133 130 134 if ( selIsLocked )