Recently, I tried to integrate the upload function to CKEditor. All you need is to add 'config.filebrowserBrowseUrl' and 'config.filebrowserUploadUrl' to your config.js file. It looks like this:
CKEDITOR.editorConfig = function( config )
{
config.filebrowserBrowseUrl = '/Browser.jsp';
config.filebrowserUploadUrl = '/Upload.jsp';
};
Actually CKFinder is what I need except that I can not find any JSP version of it. So I decide to write my own component for file browsing and uploading. But I have no idea how to pass the image url that users select from Browser.jsp to the dialog of CKEditor.
CKEDITOR.editorConfig = function( config )
{
config.filebrowserBrowseUrl = '/Browser.jsp';
config.filebrowserUploadUrl = '/Upload.jsp';
};
Actually CKFinder is what I need except that I can not find any JSP version of it. So I decide to write my own component for file browsing and uploading. But I have no idea how to pass the image url that users select from Browser.jsp to the dialog of CKEditor.
Re: Upload and browse function for CKEditor and JSP