Draft-js: List item for empty line

Created on 11 Mar 2016  路  1Comment  路  Source: facebook/draft-js

Tried this here (https://facebook.github.io/draft-js/)

Steps to reproduce:-

  • Type/Paste something like the following
xyz
  • Select everything
  • Click on OL

Observation:-
xyz will be assigned number 3, whereas it should be number 2.
(Tested the same in Microsoft Word 2013)

editor discrepancy

Most helpful comment

With an empty line in between, I disagree that xyz should be assigned number 2.

>All comments

With an empty line in between, I disagree that xyz should be assigned number 2.

Was this page helpful?
0 / 5 - 0 ratings