Ticket #2390: 2390.patch
File 2390.patch, 1.5 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
103 103 of FCKeditor, in IE.</li> 104 104 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2368">#2368</a>] Fixed broken protect 105 105 source logic for comments in IE.</li> 106 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2390">#2390</a>] Fixed the issue where 107 indent styles in JavaScript-generated <p> blocks are erased in IE.</li> 106 108 </ul> 107 109 <p> 108 110 <a href="_whatsnew_history.html">See previous versions history</a></p> -
editor/_source/internals/fckxhtml_ie.js
93 93 return node ; 94 94 } 95 95 96 // IE automatically loses the style attribute in JavaScript-created <p> tags. (Bug #2390) 97 FCKXHtml.TagProcessors['p'] = function( node, htmlNode ) 98 { 99 if ( htmlNode.style.cssText.length > 0 ) 100 { 101 var sAttValue = htmlNode.style.cssText.replace( FCKRegexLib.StyleProperties, FCKTools.ToLowerCase ) ; 102 FCKXHtml._AppendAttribute( node, 'style', sAttValue ) ; 103 } 104 105 node = FCKXHtml._AppendChildNodes( node, htmlNode, true ) ; 106 107 return node ; 108 } 109 96 110 // IE automatically changes <FONT> tags to <FONT size=+0>. 97 111 FCKXHtml.TagProcessors['font'] = function( node, htmlNode ) 98 112 {