JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5
[ckeditor.git] / _source / plugins / wsc / plugin.js
index 3edb26d..a2e34b6 100644 (file)
@@ -18,7 +18,7 @@ CKEDITOR.plugins.add( 'wsc',
                var command = editor.addCommand( commandName, new CKEDITOR.dialogCommand( commandName ) );\r
 \r
                // SpellChecker doesn't work in Opera and with custom domain\r
-               command.modes = { wysiwyg : ( !CKEDITOR.env.opera && document.domain == window.location.hostname ) };\r
+               command.modes = { wysiwyg : ( !CKEDITOR.env.opera && !CKEDITOR.env.air && document.domain == window.location.hostname ) };\r
 \r
                editor.ui.addButton( 'SpellChecker',\r
                        {\r