mohamedsabil83 / filament-forms-tinyeditor

A TinyMce Editor component for filament
MIT License
164 stars 37 forks source link

Uploaded images are not stored in storage until focus is switched #39

Closed BelyaevAD closed 1 year ago

BelyaevAD commented 1 year ago

Uploaded images are not saved to storage unless you switch focus from image to text and back to image.

To clarify, this happens when you paste an image from the clipboard.

First, the base64 code of the image is inserted into the html code, after switching focus from image to text and back, the file is uploaded to the server and the base64 code is replaced with a link.

I would like the upload to the server to start immediately after inserting the image from the buffer.

mohamedsabil83 commented 1 year ago

This behavior belongs to TinyEditor. Try to check its events from their docs and may you need to apply some changes in the view file