codex-team / codex-team/editor.js

Cursor Up/Down navigation not working users would expect it

Open
#1,312 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Cursor Up/Down navigation not working users would expect it

Steps to reproduce:

1. Open a new editor
2. Enter some characters followed by Return
3. Again, enter some characters followed by Return
4. Press Cursor up 4 times - you should now be at the very start of the document
5. Press Cursor down - you are now at the end of the first paragraph
6. Press Cursor down again - nothing happens

Expected behavior:

At the very least:
The cursor would move to the start of the next line.

Ideally:
The cursor moves to the same column on the following line as on the current line. If the following line is shorter than the current column index, move to the end.

Screenshots:

Device, Browser, OS:

Windows 10, Chromium Edge

Editor.js version:

Tested with 2.18 and master current.

Plugins you use with their versions:

Editor without custom plugins.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.