-
Notifications
You must be signed in to change notification settings - Fork 50
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 reload the updated contents? #22
Comments
Same issue, also using it within react-quill. Any solution ? |
After checking out related issues such as #5 and a bit of tinkering I came to a working solution.
Then you need to override default video format like this:
This solution almost worked, but it was still missing the modified This is a solution for video embed, for image one you just replace |
Hi.
I am using this library within react-quill ( https://www.npmjs.com/package/react-quill)
The blot works well to change size and align of images.
I can get the updated contents by using getContents.
<img src="https://cdn.sstatic.net/Img/unified/sprites.svg" width="83" height="232.7278891509434" style="display: block; margin: auto; cursor: nwse-resize;" data-align="center">
The width, height and style are updated by the formatter.
But I can't reload the html.
When I open the editor with the value, the props are removed as follow.
<img src="https://cdn.sstatic.net/Img/unified/sprites.svg">
Could you let me know how to reload the updated html contents?
Many thanks!
The text was updated successfully, but these errors were encountered: