alexfinnarn / d8_filestack

A Drupal 8 module integration with the Filestack service
MIT License
2 stars 0 forks source link

Investigate "Options" On The client.picker #11

Closed alexfinnarn closed 5 years ago

alexfinnarn commented 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().

alexfinnarn commented 5 years ago

I got the img tag to insert back into the WYSIWYG editor, and it loads when the page is viewed.