国外设计欣赏网站 - DOOOOR.com

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

[Drupal教程] drupal取消ckeditor 的自动拼写检查

[复制链接]
发表于 10-13-2011 03:15 | 显示全部楼层 |阅读模式
ckeditor的自动拼写检查对中文语系的我们,其实沒有多大用处,反而在画面开启前,还要等待它与4 q6 L3 T3 p+ x  g6 t* [

  f, x  V$ N: d0 b) Nsvn.spellchecker.net的连接!, j0 g) ?6 b  B" G0 U

1 {( y5 }* J$ ]8 A7 P所以可以把它取消掉!
  ?: G$ Z- X& f" M, x* Q2 H$ d" E+ c8 J2 Z- V1 t. ?
在网络上查到的有2个!
! S4 l1 ^3 U3 }  U
- }4 `3 U. m& s6 U& ]! kscayt_autoStartup = false;  (这个我试过有效)5 N/ r1 i, T( a( p
disableNativeSpellChecker=false;   (这个我用了..沒效..), O6 e- A* y# I' q9 h3 Y
8 b% R) t$ Q7 Z/ c0 p3 e0 U. Z; }
提供给大家参考5 I: u3 S3 ?$ f; a% c1 Q

' {7 U# Y- Z' l/ E4 D8 s2 B1 _If you want to disable the auto spell check function with ckedior, you should add the
9 _6 _& d3 H* y+ s$ C$ T8 {% Q; v  a5 |* v3 _* d4 L2 K
setting below in your ckeditor config!
: y- u3 X* a: M: C9 {7 l4 U* ^( \# p
scayt_autoStartup = false;(This worked)
2 d% A3 I4 {  }disableNativeSpellChecker=false;(….not worked)
) P1 J5 P) Y( ~
drupal下修改模块根目录下的ckeditor.config.js :& _. P4 m! W% w2 x( k5 r7 X
CKEDITOR.editorConfig = function(config) {5 ?7 d2 ^; q" p4 o
     config.scayt_autoStartup = false; //增加这一项即可去除ckeditor烦人的拼写检查 0 B' C: U3 P$ e( z% s
}

& z% r6 P& {) F9 Y  Y* [

|2011-2026-版权声明|平台(网站)公约|DOOOOR 设计网 ( 吉ICP备2022003869号 )

GMT+8, 2-14-2025 02:50 , Processed in 0.464256 second(s), 29 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表