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

Bug: Clear button doesn't reset the remaining char #4542

Closed
ThiBsc opened this issue May 24, 2023 · 0 comments · Fixed by #4563
Closed

Bug: Clear button doesn't reset the remaining char #4542

ThiBsc opened this issue May 24, 2023 · 0 comments · Fixed by #4563
Assignees

Comments

@ThiBsc
Copy link

ThiBsc commented May 24, 2023

I used the playground to reproduce the bug by using these settings:

  • Enabled ✅
    • Char Limit (UTF-8)
    • Max Length
  • Disabled ❌
    • All the rest

Lexical version: Playground version

Steps To Reproduce

  1. Start with an empty text editor (ctrl + A, then backspace)
  2. Enter something, ex. Hey
  3. Click on Clear button

Link to code example: Playground link

image

The current behavior

image

The expected behavior

image

fantactuka added a commit that referenced this issue May 24, 2023
@fantactuka fantactuka self-assigned this May 24, 2023
@zurfyx zurfyx mentioned this issue May 26, 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

Successfully merging a pull request may close this issue.

2 participants