draft-js
draft-js copied to clipboard
Miss style:color in html
While I use
let html = "<div style=\"color:#A52A2A\">HELLO</div>" EditorState.createWithContent(ContentState.createFromBlockArray(convertFromHTML(html)))
the color is disappeared.
Is there something wrong with my code?
@Catlite91 - did you find a way to make convertFromHtml understand colors?
@adamtal3 I'v no idea this time,but #358 may help you.