Indenting list elements of different type not possible
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
Describe the bug
It is not possible to indent bullet point items if they have a different type than the previous bullet point items.
To Reproduce
Steps to reproduce the behavior:
- Create a normal bullet point list
- Add a checkbox item at the end
- Place the cursor in the checkbox item and press tab
Expected behavior
The checkbox item should be indented, but it isn't because it has a different type than the previous bullet points.
Server details:
- Nextcloud version: 27.0.2
- PHP Version: 8.2
- Database: Postgres
Client details:
- OS: Arch Linux
- Browser: Firefox
- Browser version: 117
- Device: Desktop
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the editor behavior with a normal bullet list followed by a checkbox item, then press Tab in the checkbox item. Trace the list indentation handling in the JavaScript editor code and verify that mixed list types can be indented without changing the expected list structure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100