React-draft-wysiwyg: Render HTML template's css in editor.

Created on 19 Dec 2016  路  4Comments  路  Source: jpuri/react-draft-wysiwyg

I have a HTML email template. I want to edit that in editor.
When I add that HTML in editor. It only shows text content. All my css and images are removed in editor.

Please help. how should I get css and image render in editor.

Most helpful comment

@ananddodia:

I am working atm to create a lib to allow conversion from html to editor state needed for the library. Atm the functionality provided by draftjs does not suffices for this editor.

Editor supports conversion to and from RawContentState.

All 4 comments

@ananddodia:

I am working atm to create a lib to allow conversion from html to editor state needed for the library. Atm the functionality provided by draftjs does not suffices for this editor.

Editor supports conversion to and from RawContentState.

Thanks. Waiting for update.
Please inform when its done.
Your editor is nice and cover many features that I need.

Please check update here: https://github.com/jpuri/react-draft-wysiwyg/issues/103

Please not that this lib atm can translate for draftjs content only html generated by react-draft-wysiwyg.

Closing as there is no response, issue can be re-opened when needed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

regisBafutwabo picture regisBafutwabo  路  3Comments

june50232 picture june50232  路  4Comments

trongbang86 picture trongbang86  路  3Comments

Satherial picture Satherial  路  4Comments

Fireprufe15 picture Fireprufe15  路  4Comments