Changes between Initial Version and Version 1 of Ticket #11719
- Timestamp:
- Mar 25, 2014, 1:33:24 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11719 – Description
initial v1 1 [IE8] CKEDITOR.dom.element#setHtml() will strips new lines 2 3 1 4 Seems that setHtml strips new lines for IE8. 2 5 … … 4 7 5 8 {{{ 6 7 8 9 10 11 9 test_setHtmlNewLines: function() { 10 var elem = new CKEDITOR.dom.element( 'pre' ), 11 expectedCode = "foo\n\nbar"; 12 elem.setHtml( expectedCode ); 13 assert.areSame( expectedCode, elem.getHtml() ); 14 }, 12 15 }}} 13 16 14 17 It does not work only for **pre** element, i've tested it with div, p as well. 18 19 Was