Преглед изворни кода

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
Achille Lacoin пре 3 година
родитељ
комит
ea51251fe6
1 измењених фајлова са 0 додато и 2 уклоњено
  1. 0 2
      src/element/textWysiwyg.tsx

+ 0 - 2
src/element/textWysiwyg.tsx

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