Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor jumps after disabling current format #4410

Open
juanedi opened this issue Sep 13, 2024 · 0 comments
Open

Cursor jumps after disabling current format #4410

juanedi opened this issue Sep 13, 2024 · 0 comments

Comments

@juanedi
Copy link

juanedi commented Sep 13, 2024

Steps for Reproduction

Using a codepen to simplify setup but you can easily verify this in the demo editor in https://quilljs.com/ too.

  1. Visit this codepen: https://codepen.io/Juan-Edi/pen/zYVXMrV
  2. Place your cursor in the middle of the bold text
  3. Disable the bold format (either by pressing the toolbar button or with the keyboard shortcut)
  4. Press the right arrow key

Expected behavior:

Cursor should move one character to the right.

Actual behavior:

Cursor jumps to the end of the line.

Platforms:

Tested on macOS using the latest versions of Chrome (128.0.6613.120), Safari (17.5) and Firefox (127.0.2).

Version:

2.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant