Ticket #7432: 7432.patch
File 7432.patch, 784 bytes (added by , 13 years ago) |
---|
-
_source/plugins/list/plugin.js
478 478 { 479 479 var paragraph = doc.createElement( editor.config.enterMode == CKEDITOR.ENTER_P ? 'p' : 480 480 ( editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'br' ) ); 481 482 // WebKit requires anything to be inside the pargraph for the following to take place (#7432) 483 CKEDITOR.env.webkit && paragraph.append( new CKEDITOR.dom.text( '' ) ); 484 481 485 paragraph.appendTo( body ); 482 486 ranges = new CKEDITOR.dom.rangeList( [ new CKEDITOR.dom.range( doc ) ] ); 483 487 // IE exception on inserting anything when anchor inside <br>.