-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to preserve the original style of image? #43
Comments
这个怎么触发那个eitor 的change 事件啊 |
I am having similar issue with a bit difference: after saving the resized image, the image sizes are stored in the database, and is rendered in resized form, however, in the quill editor (react-quill), the image is seen again in its original big size. If the editor content re-saved, the image is stored in the original size but not in the previously-resized form, meaning that every time you have to resize the image to the desired size if you update something in the quill editor. |
Hey, facing the same issue. Anyone have solution for this? |
While using quill.setContents(quill.clipboard.convert(value)) to set editor conent, the module will remove its style attribute.
Some html string like:
After setContents it will to be:
But I hope it can preserve the style attribute and show its real align.
How to impl this feature?
The text was updated successfully, but these errors were encountered: