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

Tab character causes errors #5410

Closed
ugrinovsky opened this issue May 2, 2023 · 1 comment
Closed

Tab character causes errors #5410

ugrinovsky opened this issue May 2, 2023 · 1 comment
Labels

Comments

@ugrinovsky
Copy link

Description
Typing a character into text with a tabulation character leads to duplication of text and subsequent crash of the editor.

Recording
https://user-images.githubusercontent.com/8024592/235692345-476b5202-7c1f-41ed-b8a5-e8119dbd0277.mov

Sandbox
https://www.slatejs.org/examples/richtext

Steps
To reproduce the behavior:

  1. Go to demo
  2. Paste text with tab character
  3. Put the cursor at the beginning of the text
  4. Start typing
  5. Delete text by backspace

Expectation
The text is entered correctly, the editor does not break

Environment

  • Slate Version: [e.g. 0.59]
  • Operating System: all
  • Browser: all
@ugrinovsky ugrinovsky added the bug label May 2, 2023
@dylans
Copy link
Collaborator

dylans commented May 3, 2023

Duplicate of #5390. Should be fixed with this week's Chrome 112 patch update.

@dylans dylans closed this as completed May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants