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* [ |