Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ CKEDITOR.plugins.add('scayt', {
label : lang.text_title,
title : ( editor.plugins.wsc ? editor.lang.wsc.title : lang.text_title ),
// SCAYT doesn't work in IE Compatibility Mode and IE (8 & 9) Quirks Mode
modes : {wysiwyg: !(env.ie && ( env.version < 8 || env.quirks ) ) },
modes : {wysiwyg: !(env.ie && ( env.version < 8 || env.quirks || env.ie6Compat || env.ie7Compat || env.ie8Compat) ) },
toolbar: 'spellchecker,20',
refresh: function() {
var buttonState = editor.ui.instances.Scayt.getState();
Expand Down Expand Up @@ -487,7 +487,8 @@ CKEDITOR.plugins.add('scayt', {
}, null, null, 0);
},
parseConfig: function(editor) {
var plugin = CKEDITOR.plugins.scayt;
var plugin = CKEDITOR.plugins.scayt,
inlineMode = (editor.elementMode == CKEDITOR.ELEMENT_MODE_INLINE);

// preprocess config for backward compatibility
plugin.replaceOldOptionsNames(editor.config);
Expand All @@ -498,7 +499,7 @@ CKEDITOR.plugins.add('scayt', {
}
plugin.state.scayt[editor.name] = editor.config.scayt_autoStartup;

if(typeof editor.config.grayt_autoStartup !== 'boolean') {
if(typeof editor.config.grayt_autoStartup !== 'boolean' || inlineMode || editor.plugins.divarea) {
editor.config.grayt_autoStartup = false;
}
if(typeof editor.config.scayt_inlineModeImmediateMarkup !== 'boolean') {
Expand Down