Index: _whatsnew.html
===================================================================
--- _whatsnew.html (revision 1903)
+++ _whatsnew.html (working copy)
@@ -42,7 +42,8 @@
Fixed Bugs:
-
+ - [#2102] Fixed FCKConfig.DocType
+ which stopped working in FCKeditor 2.6.
Version 2.6
Index: editor/_source/classes/fckeditingarea.js
===================================================================
--- editor/_source/classes/fckeditingarea.js (revision 1903)
+++ editor/_source/classes/fckeditingarea.js (working copy)
@@ -101,7 +101,7 @@
if ( FCK_IS_CUSTOM_DOMAIN && FCKBrowserInfo.IsIE )
{
- window._FCKHtmlToLoad = sOverrideError + html ;
+ window._FCKHtmlToLoad = html.replace( //i, '' + sOverrideError ) ;
oIFrame.src = 'javascript:void( (function(){' +
'document.open() ;' +
'document.domain="' + document.domain + '" ;' +
@@ -133,7 +133,7 @@
var oDoc = this.Window.document ;
oDoc.open() ;
- oDoc.write( sOverrideError + html ) ;
+ oDoc.write( html.replace( //i, '' + sOverrideError ) ) ;
oDoc.close() ;
}