You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Cursor dislocates when pressing Backspace/Delete during IME composition #4956
When an IME composition is active (e.g. typing pinyin and deleting pre-commit candidate characters), pressing Backspace or Delete triggers the editor's own backspaceHandler / deleteHandler instead of letting the key event reach the IME. This mutates the document against a stale this.text and dislocates the cursor.
PixPin_2026-07-17_16-11-46.mp4
Steps to Reproduce
Place the cursor inside the HTML block's content (e.g. within the HTML block's closing tag text).
Activate the IME and start typing (type pinyin so candidate characters are shown but not yet committed).
While the composition is still active, press Backspace (or Delete) to delete a character in the composition.
Expected Behavior
The Backspace/Delete key should be handled by the IME to delete the in-composition text.
The cursor and document structure remain stable.
Actual Behavior
The cursor jumps / dislocates and the block content is corrupted.
#2347
Is your current image upload function working properly?
Pressing Ctrl+V still fails to automatically upload images. I have no idea what the development team is working on.
In feedback such as Issue #2347, some users reported that when using GitHub as the default uploader, dragging local images works for uploads, but screenshots pasted directly from the clipboard sometimes fail to upload.
Activity
ZJRui commentedon Jul 19, 2026
#2347
Is your current image upload function working properly?
In feedback such as Issue #2347, some users reported that when using GitHub as the default uploader, dragging local images works for uploads, but screenshots pasted directly from the clipboard sometimes fail to upload.
Zengzzhao commentedon Jul 19, 2026
Yes, the Ctrl+V (paste) feature for uploading images is working correctly.
fix(muya): stop editor handlers from fighting IME composition
fix(muya): stop editor handlers from fighting IME composition