You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quill 2.0 has been released (announcement post) with many changes and fixes. If this is still an issue please create a new issue after reviewing our updated Contributing guide 🙏
The font-size property in existing content is removed when Quill editor is initialized. And the other property is ok, such as text-align, font-family.
I used like this:
const sizeStyle = Quill.import('attributors/style/size');
sizeStyle.whitelist = ['14px', '16px', '18px', '20px', '24px', '32px'];
Quill.register(sizeStyle, true);
const sizeClass = Quill.import('formats/size');
sizeClass.whitelist = ['14px', '16px', '18px', '20px', '24px', '32px'];
Quill.register(sizeClass, true);
Look forward to your reply! Thank you!
Originally posted by @jiuyehengxia in #3062 (comment)
The text was updated successfully, but these errors were encountered: