Modify to ignore enter-key in IME composing (#446)
This commit is contained in:
parent
4180485eef
commit
5563dd30d7
@ -55,6 +55,9 @@ export function textWysiwyg({
|
||||
}
|
||||
if (ev.key === KEYS.ENTER) {
|
||||
ev.preventDefault();
|
||||
if (ev.isComposing || ev.keyCode === 229) {
|
||||
return;
|
||||
}
|
||||
handleSubmit();
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user