在CKEditor集成中拖放(jQuery UI对话框模式)

时间:2017-09-14 19:01:34

标签: jquery drag-and-drop ckeditor elfinder

这"如何" https://github.com/Studio-42/elFinder/wiki/Integration-with-CKEditor-%28jQuery-UI-dialog-mode%29对我很好,只是当我尝试在编辑器中拖放文件(图像)时出现错误。

我使用了最新的CKEditor和最新的elFinder。

错误信息是编辑器只是"无法上传",在我的浏览器中显示2个错误:

1)未捕获的TypeError:无法读取属性' setValue'未定义的     在window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dialog.setValueOf(ckeditor.js:574)     在main.ckedialog.js:93     在HTMLImageElement。 (main.ckedialog.js:63)     在HTMLImageElement.dispatch(jquery.min.js:3)     在HTMLImageElement.q.handle(jquery.min.js:3)

2)Uncaught DOMException: Failed to execute 'send' on 'XMLHttpRequest': The object's state must be OPENED.
at a. (http://cdnjs.cloudflare.com/ajax/libs/ckeditor/4.7.0/plugins/filetools/plugin.js?t=H4PF:7:418)
at a.h (http://cdnjs.cloudflare.com/ajax/libs/ckeditor/4.7.0/ckeditor.js:11:178)
at a.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.event.CKEDITOR.event.fire (http://cdnjs.cloudflare.com/ajax/libs/ckeditor/4.7.0/ckeditor.js:13:32)
at a.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editor.CKEDITOR.editor.fire (http://cdnjs.cloudflare.com/ajax/libs/ckeditor/4.7.0/ckeditor.js:14:225)
at k.upload (http://cdnjs.cloudflare.com/ajax/libs/ckeditor/4.7.0/plugins/filetools/plugin.js?t=H4PF:10:286)
at k. (http://cdnjs.cloudflare.com/ajax/libs/ckeditor/4.7.0/plugins/filetools/plugin.js?t=H4PF:9:227)
at k.a.(anonymous function) (http://cdnjs.cloudflare.com/ajax/libs/ckeditor/4.7.0/ckeditor.js:12:91)
at k.h (http://cdnjs.cloudflare.com/ajax/libs/ckeditor/4.7.0/ckeditor.js:11:178)
at k.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.event.CKEDITOR.event.fire (http://cdnjs.cloudflare.com/ajax/libs/ckeditor/4.7.0/ckeditor.js:13:32)
at k.changeStatus (http://cdnjs.cloudflare.com/ajax/libs/ckeditor/4.7.0/plugins/filetools/plugin.js?t=H4PF:13:72)
你知道吗?你可以想象我不是一个伟大的开发者......

Thanx很多!

0 个答案:

没有答案