hzdg / hz-core

HZ's internal library of React Components 🚧
https://hz-core.netlify.com
0 stars 0 forks source link

[draftail-renderer] Feature Request: Support nested list items #33

Open elainen opened 5 years ago

elainen commented 5 years ago

Is your feature request related to a problem? Please describe.

Some rich text fields have content with nested list items. Currently, we are only flattening out the list items into one list.

image image

Describe the solution you'd like

Utilize the depth field provided in each block to determine nested list items.

image

Describe alternatives you've considered

None

Additional context

None

aamorozov commented 4 years ago

Should work now @elainen in @hzcore/draftail-renderer@1.2.0