【问题标题】:CKEditor russian spell checkCKEditor 俄语拼写检查
【发布时间】:2017-11-28 05:57:36
【问题描述】:

如何为CKEditor添加俄语拼写检查或启用Firefox默认拼写检查?

在 FCKeditor 中,方法 FCKConfig.FirefoxSpellChecker = true; 有效,但在 CKEditor 中,该方法不再可用。

【问题讨论】:

    标签: internationalization ckeditor spell-checking


    【解决方案1】:

    http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.disableNativeSpellChecker

    在浏览器(目前仅限 Firefox 和 Safari)中输入时禁用内置拼写检查器。

    即使单词建议不会出现在 CKEditor 上下文菜单中,此功能也有助于快速识别拼写错误的单词。

    由于其他浏览器的限制,此设置目前仅与 Firefox 兼容。 定义在:plugins/wysiwygarea/plugin.js。

    config.disableNativeSpellChecker = false;

    【讨论】:

      【解决方案2】:

      禁用自动检查拼写插件scayt

      config.scayt_autoStartup = false;
      

      禁用浏览器对标准拼写检查的禁令:

      config.disableNativeSpellChecker = false;
      

      禁用命名的scayt插件并禁止替换上下文菜单:

      config.removePlugins = 'scayt';
      

      隐藏按钮:

      config.removeButtons = 'Scayt';
      

      【讨论】:

      猜你喜欢
      • 2017-07-23
      • 2013-08-24
      • 1970-01-01
      • 2013-09-09
      • 1970-01-01
      • 2022-01-02
      • 2013-05-13
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多