I have successfully gotten CKEditor to post to my application, is there any documentation for what the Editor wants back? CKFinder sends back XML, whereas FCKEditor expects an OnUploadComplete handler.
Tue, 09/08/2009 - 02:59
#1
Re: Upload Integration
You will notice that in the plugins/filebrowser/plugin.js calls CKEDITOR.tools.addFunction( setUrl ), returning the index of this newly added function. That function number is passed into your upload script as the query parameter CKEditorFuncNum.
Hope that helps.
Re: Upload Integration
Amazing! This is exactly where I was tripping up, I did not catch that they register 'semi-anonymous' functions as callbacks. Now that I know how it works, I kind of dig the approach, much cleaner than trying to manage avoiding collisions with function names.
Is your $error a status code (202/403 etc) or a message to display to the user?
Re: Upload Integration
Re: Upload Integration
Here's the code in VB.NET
Re: Upload Integration
But I can't get the alert to be displayed.
I open the child custom popup window with the following dialog button:
Should I have use something else than the onClick handler ?