quill-plugin-image-upload
quill-plugin-image-upload copied to clipboard
Images don't display fully when loading quill contents from DB
I managed to use this plugin to successfully upload images through Quill. However, when I try to display the contents from a database after saving, the image loads inside the loading spinner but does not display in full size. It stays inside the spinner.
Any ideas on how to fix this?
@DevdudeSami any screenshot?
hi @dragonwong it shows like this when its load from database

meanwhile i just handle like this
this.quill.updateContents(JSON.parse(this.my_data)) var imageElements = document.getElementsByClassName('quill-plugin-image-upload-placeholder') for (var i=0, len=imageElements.length|0; i<len; i=i+1|0) { imageElements[i].classList.remove("quill-plugin-image-upload-placeholder"); }