X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fwsc%2Fplugin.js;h=a2e34b6f19729d187a7b2b8a9cc4a2db1d54f38a;hp=3edb26d6b09cd632864d59c4fb634574c3bf1711;hb=9afde8772159bd3436f1f5b7862960307710ae5a;hpb=614511639979907ceb0da3614122a4d8eb963ad4 diff --git a/_source/plugins/wsc/plugin.js b/_source/plugins/wsc/plugin.js index 3edb26d..a2e34b6 100644 --- a/_source/plugins/wsc/plugin.js +++ b/_source/plugins/wsc/plugin.js @@ -18,7 +18,7 @@ CKEDITOR.plugins.add( 'wsc', var command = editor.addCommand( commandName, new CKEDITOR.dialogCommand( commandName ) ); // SpellChecker doesn't work in Opera and with custom domain - command.modes = { wysiwyg : ( !CKEDITOR.env.opera && document.domain == window.location.hostname ) }; + command.modes = { wysiwyg : ( !CKEDITOR.env.opera && !CKEDITOR.env.air && document.domain == window.location.hostname ) }; editor.ui.addButton( 'SpellChecker', {