Skip to content
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

Editor removes existing font size #116

Open
itsatishay opened this issue Jul 31, 2023 · 1 comment
Open

Editor removes existing font size #116

itsatishay opened this issue Jul 31, 2023 · 1 comment

Comments

@itsatishay
Copy link

itsatishay commented Jul 31, 2023

So, I am building an application in which i get html string from server. html example: <html><head></head><body><p><span style="font-size:24px; color: rgb(255, 153, 0);">Example text</span></p></body></html>
When i give this html string to QuillEditor as initialHTML. and make changes to the style but not the size of text property. Then also the editor remove the font-size:24px property.
html string after removing t from example text: <html><head></head><body><p><span style="color: rgb(255, 153, 0);">Example tex</span></p></body></html>
What should I do, so that editor does not remove the font-size property

@wallissonpr
Copy link

Any lucky?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants