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

Replacing selected formatted text or custom font deletes entire line. #3267

Closed
kristhus opened this issue Jan 7, 2021 · 1 comment
Closed

Comments

@kristhus
Copy link

kristhus commented Jan 7, 2021

When you start a selection where some format begins and end selection outside of it, after which trying to replace selection with a keypress, the entire line and focus disappears.

Steps for Reproduction

  1. Visit [https://quilljs.com/playground/#custom-fonts]
  2. Select a letter, and change its font to roboto.
  3. Select the letter and its right-neighbouring text.
  4. Press a key.
    quill_format_error

Expected behavior:
Selected text is replaced by pressed key.

Actual behavior:
Entire line disappears.

Platforms:
Chrome 87.0.4280.88 (Official Build) (64-bit)
Windows 10 Enterprise

@luin
Copy link
Member

luin commented Jun 23, 2023

Fixed in #3807. Feel free to let me know if there is anything missing. Closing

@luin luin closed this as completed Jun 23, 2023
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

2 participants