hunghg255 / quill-resize-image

A plugin resize image for Quilljs
https://quill-resize-image.vercel.app
19 stars 2 forks source link

Resize only is not recognized as a change #3

Closed juliandierker closed 1 month ago

juliandierker commented 3 months ago

Hey guys. I experience that sometimes when you only resize the img without changing the content - there wont be an onChange triggered once.

image

When I only resize here. Sometimes it won't get recognize as a change and this value of quillEditor

<p class="ql-align-right">ffdsfdsfdsdfdsfdsdsadfdsfdsf<img src="http://localhost:8080/uploads/66586ecc3a29a2edf934a3b1" width="122" style="">b<span class="ql-font-Roboto"></span></p>

width and height stays the same.

Thanks for your support.

hunghg255 commented 1 month ago

@juliandierker I built en editor from tiptap. you can check https://github.com/hunghg255/rc-tiptap-editor