prevwong/craft.js

Question: can I load html into the editor instead of manually build?

Opened this issue · 1 comments

Simple email html pages
Our editor have the basic components
Now we look at the page and drag components to build a page/layout looks the same
Can we somehow load the email html page automatically?

You will need to create a parser to parse the HTML code into Craft's EditorState (or use one of the open source HTML to JSX converters, and then pass that JSX into Craft)