mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
make text committing cross-platform (#1188)
This commit is contained in:
parent
cd3083e8e6
commit
8030a167c6
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ export function textWysiwyg({
|
|||
ev.preventDefault();
|
||||
handleSubmit();
|
||||
}
|
||||
if (ev.key === KEYS.ENTER && (ev.shiftKey || ev.metaKey)) {
|
||||
if (ev.key === KEYS.ENTER && (ev.shiftKey || ev[KEYS.CTRL_OR_CMD])) {
|
||||
ev.preventDefault();
|
||||
if (ev.isComposing || ev.keyCode === 229) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue