From a88fbc41a197f46ca148bf6dee16ad9ebafa2245 Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Tue, 27 Oct 2026 18:02:03 +0100 Subject: [PATCH] fix: Backspace while typing with a Japanese or other IME commits or duplicates the composing text (#33245) Pressing Backspace inside an unconfirmed IME composition in the chat input ended the composition, so the next keystrokes started a new one and the text appeared twice. This started in 0.12.4, when the editor library picked up a release that treats every deletion as a Backspace key press, including deletions the IME makes inside a composition, and the editor's Backspace handling then disturbs the composition. Pinning that library to the last release without this behaviour restores normal IME editing. Fixes #33223 --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2f019650ec..4670c22572 100644 --- a/package-lock.json +++ b/package-lock.json @@ -94,7 +94,7 @@ "prosemirror-schema-list": "^1.5.1", "prosemirror-state": "^1.4.3", "prosemirror-tables": "^1.7.1", - "prosemirror-view": "^1.34.3", + "prosemirror-view": "1.42.6", "pyodide": "^314.0.3", "shiki": "^4.0.1", "socket.io-client": "^4.8.3", @@ -12453,9 +12453,9 @@ } }, "node_modules/prosemirror-view": { - "version": "1.42.8", - "resolved": "https://registry.npmjs.org/prosemirror-view/-/prosemirror-view-1.42.8.tgz", - "integrity": "sha512-ftDZjCs9AjAekXmCfJRn2U3IdlRCl0Yc4tZT1/jJWCsz4DiSifEBXtWmpJpw/4f1Rg328uAUQ+u2lCJ0+AVZkw==", + "version": "1.42.6", + "resolved": "https://registry.npmjs.org/prosemirror-view/-/prosemirror-view-1.42.6.tgz", + "integrity": "sha512-3g25f6hKV2bBxo3puH3EcYWmmVNSH0iWmNsMVT7sugDSpA025jgpOLarcDWr39SdzPjYMaiYtRdNtXialPSjEQ==", "license": "MIT", "dependencies": { "prosemirror-model": "^1.25.12", diff --git a/package.json b/package.json index a9d68a1730..a4a960ee5a 100644 --- a/package.json +++ b/package.json @@ -145,7 +145,7 @@ "prosemirror-schema-list": "^1.5.1", "prosemirror-state": "^1.4.3", "prosemirror-tables": "^1.7.1", - "prosemirror-view": "^1.34.3", + "prosemirror-view": "1.42.6", "pyodide": "^314.0.3", "shiki": "^4.0.1", "socket.io-client": "^4.8.3",