From 9006939914c1ee754e30ab6b8ed32d1276969d8a Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 18 Mar 2013 10:00:24 +0000 Subject: [PATCH] * API: enable browsers native spellchecker as default for HTML Editor, if e.g.: aspell fails - to use browsers native spellchecker, you have to hold CMD/CTRL button on rightclick to access the browsers spell correction options --- phpgwapi/inc/class.egw_ckeditor_config.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpgwapi/inc/class.egw_ckeditor_config.inc.php b/phpgwapi/inc/class.egw_ckeditor_config.inc.php index c9c5bde31d..89bd53140c 100644 --- a/phpgwapi/inc/class.egw_ckeditor_config.inc.php +++ b/phpgwapi/inc/class.egw_ckeditor_config.inc.php @@ -240,6 +240,10 @@ class egw_ckeditor_config //error_log(__METHOD__.__LINE__.' Spellcheck:'.$GLOBALS['egw_info']['server']['enabled_spellcheck']); if (isset($GLOBALS['egw_info']['server']['enabled_spellcheck'])) { + // enable browsers native spellchecker as default, if e.g.: aspell fails + // to use browsers native spellchecker, you have to hold CMD/CTRL button on rightclick to + // access the browsers spell correction options + $config['disableNativeSpellChecker'] = false; $spellchecker_button = 'SpellChecker'; if (!empty($GLOBALS['egw_info']['server']['aspell_path']) && is_executable($GLOBALS['egw_info']['server']['aspell_path']) &&