小编Sho*_*ani的帖子

CkEditor - 未捕获的类型错误:无法读取未定义的属性“getSelection”

我正在CKEditor我的应用程序中实现。当我尝试实例化CKEditor到 textarea 时,出现以下错误

Cannot read property 'getSelection' of undefined
Run Code Online (Sandbox Code Playgroud)

在 ckeditor 的下面一行

getNative: function() {
 return void 0 !== this._.cache.nativeSel ? this._.cache.nativeSel : this._.cache.nativeSel = B ? this.document.$.selection : this.document.getWindow().$.getSelection() }
Run Code Online (Sandbox Code Playgroud)

任何帮助深表感谢。

javascript jquery ckeditor

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

ckeditor ×1

javascript ×1

jquery ×1