How to fix FCKEditor Problems in IE10

Last month, some one reported bug about the text editor of my application in IE10. When I checked it, BOOM! yes. We have problem with it.

I use FCKeditor 2.6.5 and then I tried upgrade to 2.6.9 version. But it’s not working either. However, the FCK site still has a demo for it that fails with IE10 anyway (you can not go to that URL because now it will redirect to 😀 )

This is what I’ve done trying to fixed the problem.

Open file fckeditor.js.

Find this :

var sBrowserVersion = navigator.appVersion.match(/MSIE (...)/)[1] ; 

replace with

var sBrowserVersion = navigator.appVersion.match(/MSIE ([\d.]+)/)[1] ;

Open fckeditorcode_ie.js.



and change if condition to

if(FCKBrowserInfo.IsIE && e.scopeName && e.scopeName!='HTML')



and change if condition to

if(D.parentElement().document && D.parentElement().document!=B)


and then add this"GET",A,false);
try {B.responseType = "msxml-document";
} catch(e) {}

In /editor/filemanager/browser/default/js/fckxml.js look for

oXmlHttp.send( null ) ;

After this line, add

try { oXmlHttp.responseType = 'msxml-document'; } catch(e){}

actually there is still a problem with this FCKEeditor. Sometimes another error will appear. From the developer tools of IE, you will see that the problem is from pasteHTML() function. About pasteHTML function, you can check it from

Hope this article can help you 🙂

2 thoughts on “How to fix FCKEditor Problems in IE10

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s