imnapo / react-native-cn-quill

Quill rich-text editor for react-native
MIT License
185 stars 72 forks source link

Editor removes existing font size #116

Open itsatishay opened 1 year ago

itsatishay commented 1 year ago

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 commented 8 months ago

Any lucky?