Use editor upload control into custom Modal

Use editor upload control into custom Modal

slicksystemsslicksystems Posts: 4Questions: 2Answers: 0

Hi Allan,

We're trying to have an Editor inside Editor for uploading image.
Unfortunately its not possible at the moment, as what you say in https://datatables.net//forums/discussion/comment/102392.

So right now we create a popup that contain an upload control.
We like the editor upload control, where user can see the progress bar and it sent to server on upload and return image_id.
The question is, can we use and put editor upload control to our custom modal popup?

Thanks.

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Not really I'm afraid - it isn't designed to be used outside of an Editor form.

    However, if you are interested in showing a progress bar, you can use the onprogress event from the XHR object directly, which is what Editor does itself.

    Allan

This discussion has been closed.