Unordered list in Editor displays both bullets and numbers (v20)

Open Beginner friendly
#18,671 3 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
angular, typescript
Domain
frontend

Research direction

Start with the Editor component on the linked PrimeNG demo and reproduce the unordered-list behavior in Chrome or Firefox. Trace the component's list rendering and styling, then verify that unordered lists show only bullets while ordered lists remain unchanged.

Written by the indexing model from the issue text.

Description

Resolution: Stale Status: Needs Triage
Describe the bug

When using the Editor component to create an unordered list (bullet list), the list renders both bullets and numbers at the same time.

This does not happen with ordered lists, which work as expected.

Pull Request Link

No response

Reason for not contributing a PR
  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other
Other Reason

No response

Reproducer

https://primeng.org/editor

Environment

The bug is already on PrimeNG page

Angular version

19.1.0

PrimeNG version

v19 (LTS Only)

Node version

No response

Browser(s)

All tested (Chrome, Firefox)

Steps to reproduce the behavior
  1. Open the Editor component (https://primeng.org/editor)
  2. Type some text
  3. Select the text and click the unordered list button (bullet list)
  4. Observe that each list item shows both a bullet and a number
Expected behavior

An unordered list (<ul>) should display only bullet points, not numbers.

Dominant language
TypeScript
Stars
12.5k
Forks
5.1k
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from primefaces/primeng

All issues in primefaces/primeng

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.