facebookarchive/draft-js

Indenting list block of one type inside the other

Open

#443 创建于 2016年6月5日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)JavaScript (22,554 star) (2,646 fork)batch import
enhancementhelp wanted

描述

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.

贡献者指南