nextcloud / nextcloud/text

Indenting list elements of different type not possible

Open
#4,786 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: formatting feature: formatting - lists format: markdown
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:

  1. Create a normal bullet point list
  2. Add a checkbox item at the end
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.