我正在使用CKEditor 4.5.6作为WebsiteBuilder,我添加了这个Glyphicons插件:
我的问题是,当我想移动图标时,它会消失并出现错误:
Uncaught TypeError: el.find is not a function
at getFirstTextNode (plugin.js?t=FB9E:2150)
at preserveSpaces (plugin.js?t=FB9E:2121)
at Repository.wrapElement (plugin.js?t=FB9E:699)
at a.<anonymous> (plugin.js?t=FB9E:2920)
at a.q (ckeditor.js:10)
at a.<anonymous> (ckeditor.js:12)
at a.CKEDITOR.editor.CKEDITOR.editor.fire (ckeditor.js:13)
at CKEDITOR.htmlDataProcessor.toHtml (ckeditor.js:300)
at ckeditor.js:373
at b.insertHtml (ckeditor.js:341)
getFirstTextNode @ plugin.js?t=FB9E:2150
preserveSpaces @ plugin.js?t=FB9E:2121
wrapElement @ plugin.js?t=FB9E:699
(anonymous) @ plugin.js?t=FB9E:2920
q @ ckeditor.js:10
(anonymous) @ ckeditor.js:12
CKEDITOR.editor.CKEDITOR.editor.fire @ ckeditor.js:13
toHtml @ ckeditor.js:300
(anonymous) @ ckeditor.js:373
insertHtml @ ckeditor.js:341
(anonymous) @ ckeditor.js:351
q @ ckeditor.js:10
(anonymous) @ ckeditor.js:12
CKEDITOR.editor.CKEDITOR.editor.fire @ ckeditor.js:13
insertHtml @ ckeditor.js:254
(anonymous) @ ckeditor.js:653
q @ ckeditor.js:10
(anonymous) @ ckeditor.js:12
CKEDITOR.editor.CKEDITOR.editor.fire @ ckeditor.js:13
r @ ckeditor.js:626
internalDrop @ ckeditor.js:657
(anonymous) @ ckeditor.js:647
setTimeout (async)
(anonymous) @ ckeditor.js:647
q @ ckeditor.js:10
(anonymous) @ ckeditor.js:12
CKEDITOR.editor.CKEDITOR.editor.fire @ ckeditor.js:13
e @ ckeditor.js:644
(anonymous) @ ckeditor.js:647
q @ ckeditor.js:10
(anonymous) @ ckeditor.js:12
(anonymous) @ ckeditor.js:52
有人遇到了这个问题。它可以以一种简单的方式解决吗?我第一次使用CKEditor,所以我没有很多经验。
P.S。:我已经使用插件讨论寻求帮助。
答案 0 :(得分:0)
widget
插件的重构很大,依赖于此插件,它破坏了一些插件(例如占位符,令牌)
这是提交的份额
https://github.com/ckeditor/ckeditor-dev/commit/2fca8e6248aebab164133e9cd97403cb2de9a006
因此,您需要与小部件的维护者联系
如果插件未更新,则需要使用旧版本的小部件。