Hotfix: CKEditor 3.x and Internet Explorer 11
We recently discovered a rendering problem between V7’s WYSIWYG editor, CKEditor and Internet Explorer 11. We addressed this problem in hotfix 7.0.66. This blog post contains details about the fix and our future plans to avert similar issues.
Kentico 7 uses CKEditor version 3.6.3. This version of CKEditor is compatible with Internet Explorer 9, but it doesn’t support version 10 and 11, with functionalitiesy either not working or the CKEditor not being displayed. However, you can switch the newer versions of Internet Explorer (IE) to compatibility mode so that it behaves exactly like an older version. This is the how we address the problem in the latest hotfix 7.0.66.
The system now sets the
X-UA-Compatible HTTP header to
IE=9 when rendering system pages. You can change the IE compatibility value by adding the
CMSXUACompatibleValue key to the appSettings section of your web.config. So, if you don’t want to change compatibility mode to IE 9, you can change the value of X-UA-Compatible header via the web.config.
In case you can’t apply latest hotfix you can configure proper HTTP header on IIS level. You can achieve this in web.config.
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="X-UA-Compatible" value="IE=9"/>
</customHeaders>
</httpProtocol>
</system.webServer>
Alternatively, you can the insert HTTP header in the IIS Manager in the Response headers category.
There is one scenario where this fix will not help – on localhost domain. The IE ignores the compatibility header on a localhost domain so you either need to explicitly set compatibility mode (see
this KB article) or use a computer name instead of a localhost domain.
Future plans
We definitely want to do two things:
-
Update CKEditor to version 4.x. This is currently on our internal roadmap for Kentico version 8.
-
Separate CKEditor from the system and replace it with newer version or different WYSIWYG editor to make it much easier. This is not in the scope of Kentico version 8.
If you have any further questions orfeedback please let us know!