mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-15 09:31:21 +00:00
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
This commit is contained in:
parent
83437197e3
commit
a88fbc41a1
2 changed files with 5 additions and 5 deletions
8
package-lock.json
generated
8
package-lock.json
generated
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue