nextcloud / nextcloud/text

No combined numbered and bullet lists

Open
#5,104 1 comment 3 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
Often a set of bullet points should be structured in numbered chapters, such as

  1. chapter one
  • point11
  • point12
  1. chapter two
  • point21
  • point21

Markdown allows this. I'm not even dreaming of something like this:

  1. chapter one
  • point11
  • point12
    1.1 Chapter OneOne
    • point 1.1.1
    • point 1.1.2
  1. chapter two
  • point21
  • pont21
    which should also work as Markdown supports it (and so does this editor here in Github)

To Reproduce
Try to enter a list as above. See that the numbering is broken.

It is hard to make an ident as there is no --> and <-- so I tried it with TAB and delete. It works but not in combined lists.

Screenshots
image

Server details:

  • Nextcloud version: Nextcloud Hub 6 (27.1.4)
  • PHP Version: 8.1.2

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

No files or tests are named. Start by reproducing the numbered and bullet-list examples in the editor and trace the list-handling entry point; done means mixed lists preserve chapter numbering and nested list structure as shown.

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
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.