IQSS / IQSS/dataverse-frontend

Rich Text Editor - formatted list buttons and header tags unexpected behavior

Open
#585 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug GREI Re-arch SPA.Q1
Dominant language
TypeScript
Stars
31
Forks
26
Avg merge
4d 13h
Merged PRs (30d)
4

Description

When does this issue occur?

In the Rich Text Editor

Which page(s) does it occur on?

Edit Feature Items

What happens?

To reproduce:
Format some text using the Header Tags (H1, H2 or H3). Then choose one of the list buttons (bulleted or numbered). The list format is applied, but the Header tag is removed, and the text reverts to normal text format.

The same thing happens in the reverse order. If you apply a list format to text, then also apply a Header format, the header format is applied but the list format is removed.

To whom does it occur (all users, curators, superusers)?

all

What did you expect to happen?

It should be possible to apply both a header format and a list format to text.

Any related open or closed issues to this bug report?
https://github.com/IQSS/dataverse-frontend/pull/575

Screenshots:

https://github.com/user-attachments/assets/8c652892-8db1-4324-9697-662b1f8d4291

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 in the Rich Text Editor on the Edit Feature Items page and reproduce applying header tags before and after bulleted or numbered lists. Done means both the header and list formatting remain applied in either order; the related pull request is #575.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.