-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Preserve attribute class on img tag #4212
Comments
firepolo
changed the title
Keep class attribute on img tag
Preserve class attribute on img tag
May 16, 2024
firepolo
changed the title
Preserve class attribute on img tag
Preserve attribute class on img tag
May 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Allow the "class" attribute to be retained on "img" tags. This is useful for modules which could add a "class" to images and which should be included in "quill". By default Quill removes the "class" attribute from images in html.
Steps for add this
Expected behavior:
Preserve class attribute in img tag.
Actual behavior:
Remove class attribute from img tag
Improvements:
Maybe add attribute "style" for modules "quill-blot-formatter" for example.
The text was updated successfully, but these errors were encountered: