Press delete key in code block language input and cause bug
Jocs opened this issue · comments
Ran Luo commented
-
Searched existing issues to avoid creating duplicates.
-
Confirmed that it can be reproduced in muya.
Describe the bug
Create a code block, and edit the language input, and press delete
key, then will cause bugs.
To Reproduce
Steps to reproduce the behavior:
- Create a Code Block.
- Click in the language input area.
- Press
delete
key
Expected behavior
Nothing will hapen when the cursor is at the end input area.
Actual behavior
Pressing the delete key continuously causes the code block to no longer be editable
Operation System and Browser version (please complete the following information):
- OS: macOS
- Browser: Chrome
Muya Version
e.g: 0.10.11