OpenSlides / OpenSlides/openslides-client
Fix empty list items in editor
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 35
- Forks
- 52
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 52
Description
Describe the bug
If a list (in any editor) with an empty item is saved, it can't be edited later on.
How to Reproduce
- create a topic (or motion/edit start page/...) with the following text:
<p>Some text</p>
<ul>
<li>First point</li>
<li>
</li>
</ul>
<p>Some more text</p>
- save the topic
- edit the topic and try to write something in the empty list item. -> The cursor immediately jumps to the next line.
Expected behavior
It is possible to enter text to an empty list item.
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the issue in any editor using the HTML list shown in the report, then trace how the saved empty list item is handled when editing. Done means text can be entered in the empty list item without the cursor jumping to the next line.
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