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:
parent
399ce1e01a
commit
ea51251fe6
@ -316,8 +316,6 @@ export const textWysiwyg = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
editable.onkeydown = (event) => {
|
editable.onkeydown = (event) => {
|
||||||
event.stopPropagation();
|
|
||||||
|
|
||||||
if (!event.shiftKey && actionZoomIn.keyTest(event)) {
|
if (!event.shiftKey && actionZoomIn.keyTest(event)) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
app.actionManager.executeAction(actionZoomIn);
|
app.actionManager.executeAction(actionZoomIn);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user