Closed Yoruba closed 6 years ago
Hello, it would be nice to have support for nested list-items like the screen shot. See the "depth" property of the "type": "ordered-list-item", Level one = "depth": 0 Level two = "depth": 1
{ "entityMap": {}, "blocks": [ { "key": "1pdm1", "text": "Level 1", "type": "ordered-list-item", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {} }, { "key": "1sd0p", "text": "Level 2", "type": "ordered-list-item", "depth": 1, "inlineStyleRanges": [], "entityRanges": [], "data": {} } ] }
react-navtive-drafjs-render renders the object like this.
Thanks, Adri
Hello, @Yoruba!
It's a nice feature, but it isn't at our roadmap for now. Could you help us with it?
Thanks.
I will give a try in the coming weeks. I let you know when it is done.
This option is implemented
Hello, it would be nice to have support for nested list-items like the screen shot. See the "depth" property of the "type": "ordered-list-item", Level one = "depth": 0 Level two = "depth": 1
react-navtive-drafjs-render renders the object like this.
Thanks, Adri