notes-android
notes-android copied to clipboard
adding new line in middle of numbered list don't update the numbers in edit mode
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:
- Go to a note with a numbered list
- Click on 'edit'
- Put the cursor at the end of a line somewhere in the middle of the list
- Add a new line, it will create a new item in the numbered list
- the item will have the right number (previous line + 1), but the next lines will not be incresead
- 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)