slab / quill

Quill is a modern WYSIWYG editor built for compatibility and extensibility
https://quilljs.com
BSD 3-Clause "New" or "Revised" License
43.52k stars 3.38k forks source link

Incorrect numbering of second level when ordered list mixed with bullets #829

Closed erenemre closed 6 months ago

erenemre commented 8 years ago

When you have an ordered list, with another list under, ordered list's numbers do not follow an expected rule.

Steps for Reproduction

  1. Visit http://beta.quilljs.com
  2. Create an ordered list with 5 items
  3. After 3rd item, indent the list and create another list under

Expected behavior: SEE: https://www.dropbox.com/s/5olyxk1t4osfydg/quill1.gif?dl=0 The order should be: One Two _ Three - A - B __- C - Four _- Five

Actual behavior: SEE: https://www.dropbox.com/s/y30dsdcacdrbiyv/quill2.gif?dl=0 One Two _ Three - A - B __- C - One _- Two

Platforms: Version 51.0.2704.103 (64-bit) on OSX 10.11.6 (15G31)

Version: v1.0.0-beta.9

mpfau commented 7 years ago

Looks like this does not work for the same reason as #979. The numbering is resetted because a new ul and a new ol block is created (instead of creating an ul subblock below the ol)

quill-bot commented 6 months ago

Quill 2.0 has been released (announcement post) with many changes and fixes. If this is still an issue please create a new issue after reviewing our updated Contributing guide :pray: