Hi,
The editor kind of work the way I want it to, except when embedding images.
When adding an image, I would like to store the image temporarily (locally) until the user
saves the document.
On save, the document gets uploaded to a storage, and the data object should update the blog url's.
This would be the place to add images temporarily. As of now, I'm just storing them in storage right away.
How can I go about doing something like this? I cant seem to figure a way to actually let me upload images without filling the storage with unused image.
If the user adds an image, and deletes it in the editor, it will still be in storage. Therefore, it would be much better to temporarily add it, and upload it when the user clicks 'save document'.
Hi, The editor kind of work the way I want it to, except when embedding images. When adding an image, I would like to store the image temporarily (locally) until the user saves the document. On save, the document gets uploaded to a storage, and the data object should update the blog url's.
This would be the place to add images temporarily. As of now, I'm just storing them in storage right away.
This would be the place to save the document. The function gets triggered by a button.
How can I go about doing something like this? I cant seem to figure a way to actually let me upload images without filling the storage with unused image. If the user adds an image, and deletes it in the editor, it will still be in storage. Therefore, it would be much better to temporarily add it, and upload it when the user clicks 'save document'.
Does anyone have any pointers?
Regards Stephan Bakkelund Valois