draft-js icon indicating copy to clipboard operation
draft-js copied to clipboard

convertFromHTML lost inline style

Open Zulfia73 opened this issue 10 years ago • 4 comments

const blockArray = convertFromHTML(this.state.body); const editorState = createWithContent(ContentState.createFromBlockArray(blockArray))

when i insert editorState, all inline style lost, what is problem may be? thanks

Zulfia73 avatar May 26 '16 15:05 Zulfia73

Why you close the issue?

Catlite91 avatar Jun 01 '16 05:06 Catlite91

@Catlite91 i begin send editorState to server

Zulfia73 avatar Jun 01 '16 05:06 Zulfia73

@Zulfia73 you closed this because you can't fix it?

Uysim avatar Feb 09 '17 14:02 Uysim

@Catlite91 you found the solution?

Uysim avatar Feb 09 '17 14:02 Uysim