opentiny / opentiny/tiny-editor

🐛 [Bug]: 选中mention内容无法使用backspace删除

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
535
Forks
71
Avg merge
6h 50m
Merged PRs (30d)
2

Description

Version

latest

Link to minimal reproduction
Image

如图:选中mention内容无法使用backspace删除

Step to reproduce
Image

如图:选中mention内容无法使用backspace删除

What is expected

选中mention内容使用backspace删除

What is actually happening

No response

What is your project name

demo实例

Any additional comments (optional)

No response

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 by running the demo instance and reproducing the issue shown in the attached image: select a mention and press Backspace. Then trace the TypeScript editor code that handles mention selection and deletion. Done means a selected mention can be removed with Backspace without breaking the surrounding editor content.

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.