StackExchange / StackExchange/Stacks-Editor
bug(rich-text) cannot delete multiple tables at one time
Open
Nobody has claimed this yet.
bug
mode - rich text
- Dominant language
- TypeScript
- Stars
- 437
- Forks
- 61
- Avg merge
- 16h 2m
- Merged PRs (30d)
- 8
Description
Describe the bug
In RT mode, cannot delete multiple tables at once
To Reproduce
- RT, add multiple tables
- Highlight all of them
- Hit [Delete]. Observe only one table is deleted.
Expected behavior
All tables fully highlighted should be deleted.
Screenshots

Desktop (please complete the following information):
Windows 11 Chrome 103
Additional context
Contributor guide
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
Start by reproducing the issue in RT mode: add multiple tables, highlight them all, and press Delete. Trace the rich-text table deletion handling and verify that deleting a selection removes every fully highlighted table, not only one; the issue provides no file or test path.
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
- Clearly specified
- Newbie friendliness
- 45/100