facebookarchive/draft-js
View on GitHubIndenting list block of one type inside the other
Open
#443 opened on Jun 5, 2016
enhancementhelp wanted
Description
If I create a OL of 2 items and change depth of 2nd item to 2, like this:
1. ITEM1
2. ITEM2
If I change type of 2nd item to UL it looses it depth:
1. ITEM1
2. ITEM2
But now if I try to indent second item, it works
1. ITEM1
2. ITEM2
While indenting its checked that block above is list, but its not checked if its list of same type. Also, please find gif attached. I can create a PR for the fix.