mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): Prevent submit when composing with IME on chat textarea (#17179)
This commit is contained in:
@@ -144,7 +144,7 @@ async function onSubmit(event: MouseEvent | KeyboardEvent) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function onSubmitKeydown(event: KeyboardEvent) {
|
async function onSubmitKeydown(event: KeyboardEvent) {
|
||||||
if (event.shiftKey) {
|
if (event.shiftKey || event.isComposing) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user