1.0.2 • Published 6 years ago
raw-content-state-to-tree v1.0.2
raw-draftjs-to-tree
Converts a RawDraftContentState to a tree 🌲
Inspired by rawdraftjs-to-tree
How to use
Look into the example provided in the "examples" directory. But as a short explanation: This library converts a raw draftjs object to a simple tree. This makes it then very easy to convert the tree to any format you want. In the example provided it converts the tree to pure html.
1.0.2
6 years ago