Multiple CKEditor instances Solved

User's avatar
Damian R.
10:48 Jun 08, 2014
Hello,

I am trying to setup multiple CKEditor instances.
On page are N CKEditor instances. When uploading photo to first (any) editor - it succeeds, any other attempt to upload (any other editor instance) fails and returns error: "Upload files to continue"
Support team avatar
JS+
21:05 Jun 29, 2014
Hello, I have tested it before and there was not such problem. But I will test this case and add the fix if there is a problem.
User's avatar
Damian R.
18:51 Jul 31, 2014
I can tell you exectly what is happening:

IN: dlg_upload.js
"onOk" function:
var j = j_doksoft_image(".plupload2_doksoft_image").pluploadQueue(); 
this is to blame.

j_doksoft_image(".plupload2_doksoft_image") - returns an array of dialogs. If you execute this after one dialog was used for upload, this function returns file list of the FIRST dialog instance used.
Support team avatar
JS+
06:58 Aug 09, 2014
Hello,

I have sent the new version of the CKEditor Image Upload+ plugin to your e-mail from forum profile.
The but you have talked about was fixed there.
User's avatar
Damian R.
12:08 Aug 09, 2014
Tested, works. Thank you!