I am using CKEditor 4.5.1 with CKFinder 2.5 for ColdFusion 8 and the Enhanced Image and Upload Image plugins.
I have successfully integrated CKFinder with CKEditor, and I can embed images in the editor using the normal CKFinder interface. They are loaded into the desired folder and displayed in the editor. I can drag and drop images into the CKFinder interface, and they load and display very well in CKEditor.
However, when I try to drag images directly into the editor window, I get the message < server response incorrect .
Using the Chrome and Fiddler developer tools, I see that when I drag and drop images into the CKFinder interface, it calls the QuickUpload method of the connector and returns the correct JSON response. When I drag images into the editor interface, it calls the same QuickUpload method, the download fails and returns only 0 , and there is no JSON at all. The documentation says that even with a failure, it should still send JSON with an error message.
I usually created CKEditor.
<script src="/js/plugin/ckeditor/ckeditor.js"></script>
<script src="/js/plugin/ckfinder/ckfinder.js"></script>
<script type="text/javascript">
CKEDITOR.replace( 'message');
</script>
In my config.js file for the editor, I set the required URLs.
config.filebrowserBrowseUrl = '/js/plugin/ckfinder/ckfinder.html';
config.filebrowserImageBrowseUrl = '/js/plugin/ckfinder/ckfinder.html?type=Images';
config.filebrowserUploadUrl = '/js/plugin/ckfinder/core/connector/cfm/connector.cfm?command=QuickUpload&type=Files';
config.filebrowserImageUploadUrl = '/js/plugin/ckfinder/core/connector/cfm/connector.cfm?command=QuickUpload&type=Images';
I activated the Upload Image plugin (all dependencies were downloaded using the assembly).
config.extraPlugins = 'image2,uploadimage';
config.uploadUrl, config.filebrowserUploadUrl, uploadUrl - .
CKFinder CKEditor?