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
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