Ticket #1707: 1707.patch
File 1707.patch, 1.0 KB (added by , 17 years ago) |
---|
-
editor/_source/classes/fckdomrangeiterator.js
110 110 { 111 111 var nodeName = currentNode.nodeName.toLowerCase() ; 112 112 113 // Fix for #1707: The DOM prefix should not be ignored in IE since 114 // a tag name of a different namespace is not the same as the same 115 // tag name of the HTML namespace. 116 if ( FCKBrowserInfo.IsIE && currentNode.scopeName != 'HTML' ) 117 nodeName = currentNode.scopeName + ':' + nodeName ; 118 113 119 if ( boundarySet[ nodeName ] ) 114 120 { 115 121 // <br> boundaries must be part of the range. It will … … 271 277 272 278 removePreviousBr = !splitInfo.WasStartOfBlock ; 273 279 removeLastBr = !splitInfo.WasEndOfBlock ; 274 FCKDebug.Output( 'removePreviousBr=' + removePreviousBr + ',removeLastBr=' + removeLastBr ) ;275 280 276 281 // Insert the new block into the DOM. 277 282 range.InsertNode( block ) ;