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

Backspace key with Formula does not work. #4625

Open
meadow-tulips opened this issue Mar 12, 2025 · 0 comments
Open

Backspace key with Formula does not work. #4625

meadow-tulips opened this issue Mar 12, 2025 · 0 comments

Comments

@meadow-tulips
Copy link

meadow-tulips commented Mar 12, 2025

Image

Steps to produce:

  • Open https://quilljs.com/docs/formats#embeds
  • Use formula toolbar to add e = mc^2. After inserting formula in the editor..you will find cursor positioned after a space.
  • Remove the space.
  • Click Outside the editor to lose focus.
  • Now position your cursor next to formula by clicking in the white-space after it and try removing it with backspace.

After looking into it for a long time.. realized that the selection range event listener is giving the last selectionRange index as 0 . However cursor is positioned at index 1.

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