ruby on rails 3 -拼写检查器不能在CKEditor 4上工作
ruby on rails 3 - Spell Checker doesn't work on CKEditor 4
我使用CKEditor v4.0和CKEditor gem https://github.com/tsechingho/ckeditor-rails
Gemfile
gem 'ckeditor', '>= 4.0.0.rc1'
config.js
CKEDITOR.editorConfig = function( config ){
config.skin = 'moono',
config.disableNativeSpellChecker = true,
config.scayt_autoStartup = true,
config.toolbar = [
[ 'Bold', 'Italic', 'Underline', 'Strike', 'Blockquote', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink', '-', 'SpellChecker', 'Scayt' ]
]
};
我已经测试了许多可能的解决方案,我认为这是v4.0的问题
https://www.outsystems.com/NetworkForums/ViewTopic.aspx?TopicId=7033&主题= CKEditor——Spell-Check-As-You-Type (-SCAYT)
http://devnet.kentico.com/FAQs/Content-Management/Enable-the-Spell-Check-As-You-Type-feature-by-defa.aspx在这里http://drupal.org/node/1870398用户名为"vinmassaro"张贴,如果你设置"拼写检查为你输入"工具栏上的工作,因为两种类型的拼写检查压缩在一个按钮,但不工作,甚至不工具栏按钮显示:S
我不知道如何解决这个问题,但我发现了另一个宝石,可以做我想要的,如果你想使用这个功能,你可以使用它没有任何额外的配置。
gem 'ckeditor_rails', '~> 4.0.1.1'
https://github.com/tsechingho/ckeditor-rails 相关文章:
- 不能从angular2中的子组件指定父组件中的数组
- AngularJS UI路由器不能像ng路由器那样工作
- HTML5音频加载和播放获胜'我不能在iPad上工作
- 转义符不能与innerHTML一起使用
- JSON.parse没有'不能使用Javascript
- JS可以在Chrome中工作,但不能在Firefox中工作
- 砌体不能填补小缺口
- javascript扫雷器floodfill算法不能正常工作
- JavaScript指令不能像我想象的那样工作
- Django可以'不能在设置中导入ckeditor,但可以在shell中导入
- 不能让CKEditor插入HTML在IE 8上运行
- CKEditor变量在控制台中可用,但不能从Chrome用户脚本中获得
- Ckeditor 4.1.1不能工作
- CKEDITOR.instance [x].setData不能在IE中工作
- Ckeditor值不能被asp.net和vb.net识别
- Laravel ckeditor数据不能插入数据库
- CKEditor不能在自定义文件夹中工作
- ruby on rails 3 -拼写检查器不能在CKEditor 4上工作
- 未捕获的类型错误:不能调用方法'未定义使用Ckeditor
- CKEditor +量角器:用量角器测试不能找到CKEditor实例