1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2025-02-18 13:29:36 +01:00

fix: propagate keydown events from excalidraw-wysiwyg inputs (#5099)

* fix: allow propagation for keydown events originating from `excalidraw-wysiwyg`

* revert check on the handleKeyDown function
This commit is contained in:
Achille Lacoin 2022-04-27 20:28:41 +02:00 committed by GitHub
parent 399ce1e01a
commit ea51251fe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -316,8 +316,6 @@ export const textWysiwyg = ({
}
editable.onkeydown = (event) => {
event.stopPropagation();
if (!event.shiftKey && actionZoomIn.keyTest(event)) {
event.preventDefault();
app.actionManager.executeAction(actionZoomIn);