JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5.2
[ckeditor.git] / _source / plugins / wysiwygarea / plugin.js
index 76501cc..ff4a80e 100644 (file)
@@ -1096,9 +1096,9 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                        editor.document.$.title = frameLabel;\r
                                });\r
 \r
-                       // IE8 stricts mode doesn't have 'contentEditable' in effect\r
+                       // IE>=8 stricts mode doesn't have 'contentEditable' in effect\r
                        // on element unless it has layout. (#5562)\r
-                       if ( CKEDITOR.env.ie8Compat )\r
+                       if ( CKEDITOR.document.$.documentMode >= 8 )\r
                        {\r
                                editor.addCss( 'html.CSS1Compat [contenteditable=false]{ min-height:0 !important;}' );\r
 \r