prosekit / prosekit/prosekit

Delete the first line when there is any characters left

Open
#1,061 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.2k
Forks
39
Avg merge
21h 40m
Merged PRs (30d)
15

Description

I wanted to be able to delete the first line when there are no characters. But the delete key does not work, only with if I go to the second line, inserts my cursor in the start and press backspace.

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

Reproduce the issue in the rich text editor using a first line that still contains characters, then compare the Delete key with the described second-line/backspace workaround. Locate the editor entry point that handles these key actions and confirm the intended behavior: deleting the first line should work without moving the cursor to the second 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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.