editor-js / editor-js/inline-code

Cannot place caret outside of inline code

Open
#38 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
63
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Write the following text:

> This is `inline code`.

Backspace to delete the `.` at the end of the line and the caret jumps into the inline code tag. You now cannot add normal text at the end of this line. Most editors which work in a similar way allow you to click outside of the inline code or use the arrow keys to place the caret outside.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the caret jump in the Editor.js inline-code tool using the steps in the issue, then inspect the tool's caret and inline-code handling. Done means deleting the trailing period no longer traps the caret inside the inline code, and clicking or using arrow keys can place it after the code.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.