htmlToDraft ignores style attribute
Hello :)
I need simply colorful text with HTML for the initial state.
I have a span with attribute style=" color: red ", but this style is not working during conversion.
Please, can you provide some solutions to this?
I am also facing the same issue, font size, background color, font color and some other blockquotes, etc are not converting in htmlToDraft,
I am finding a solution for more than a week now.
can anyone help me with this?
Hello :)
I need simply colorful text with HTML for the initial state.
I have a span with attribute style=" color: red ", but this style is not working during conversion.
Please, can you provide some solutions to this?
====================
I have fixed that by myself. this package worked for me: https://www.npmjs.com/package/html-to-draftjs feel free to ask if you need any help
Hello :) I need simply colorful text with HTML for the initial state. I have a span with attribute style=" color: red ", but this style is not working during conversion. Please, can you provide some solutions to this?
====================
I have fixed that by myself. this package worked for me: https://www.npmjs.com/package/html-to-draftjs feel free to ask if you need any help
What is the package you're talking about ? The link you provided gets to this current package. Maybe a bad copy / paste