Closed Jocs closed 11 months ago
[x] Searched existing issues to avoid creating duplicates.
[x] Confirmed that it can be reproduced in muya.
Describe the bug If the backspace is preceded by a newline character, it will result in an error.
To Reproduce Steps to reproduce the behavior:
function add(){ }|
function add
backspace
Expected behavior Input normally.
Actual behavior The cursor flies inside the topmost code
Operation System and Browser version (please complete the following information):
Muya Version e.g: 0.10.11
[x] Searched existing issues to avoid creating duplicates.
[x] Confirmed that it can be reproduced in muya.
Describe the bug If the backspace is preceded by a newline character, it will result in an error.
To Reproduce Steps to reproduce the behavior:
function add
backspace
Expected behavior Input normally.
Actual behavior The cursor flies inside the topmost code
Operation System and Browser version (please complete the following information):
Muya Version e.g: 0.10.11