notes-android icon indicating copy to clipboard operation
notes-android copied to clipboard

adding new line in middle of numbered list don't update the numbers in edit mode

Open hugodu69 opened this issue 2 years ago • 0 comments

Please use GitHub reactions 👍 to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

Describe the bug

when you create a numbered list with 1. , if you edit the list in the middle it will not update the list when in edit mode, however it will in view mode

To Reproduce Steps to reproduce the behavior:

  1. Go to a note with a numbered list
  2. Click on 'edit'
  3. Put the cursor at the end of a line somewhere in the middle of the list
  4. Add a new line, it will create a new item in the numbered list
  5. the item will have the right number (previous line + 1), but the next lines will not be incresead
  6. illustration :
before :
1. miley cyrus
2. Aretha Franklin
3. ella fitzgerald
4. lady gaga

after :
1. miley cyrus
2. Aretha Franklin
3. ella fitzgerald
3. 
4. lady gaga

after :
1. miley cyrus
2. Aretha Franklin
3. ella fitzgerald
3. lana del rey
4. lady gaga

Expected behavior

having the list edited with the right numbers

Smartphone (please complete the following information):

  • Nextcloud Notes-Version (android app): v4.0.0
  • App source: F-Droid
  • Android-Version: 6.0.1
  • Device: AZUS_Z00MD
  • System language: English (US)

hugodu69 avatar Jun 14 '23 15:06 hugodu69