Closed alexfinnarn closed 5 years ago
I wondered how I could get a response of data about the uploaded image, but https://github.com/alexfinnarn/d8_filestack/blob/master/js/plugins/ckeditor/plugin.es6.js#L17 I think the "options" part allows for actions when the picker is opened and after an image is uploaded.
The goal would be to create two functions, one for onOpen() and the other on onUploadDone().
onOpen()
onUploadDone()
I got the img tag to insert back into the WYSIWYG editor, and it loads when the page is viewed.
I wondered how I could get a response of data about the uploaded image, but https://github.com/alexfinnarn/d8_filestack/blob/master/js/plugins/ckeditor/plugin.es6.js#L17 I think the "options" part allows for actions when the picker is opened and after an image is uploaded.
The goal would be to create two functions, one for
onOpen()
and the other ononUploadDone()
.