@plait/core 0.16.0 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2640,6 +2640,9 @@ const withHotkey = (board) => {
2640
2640
  event.preventDefault();
2641
2641
  let elements = [];
2642
2642
  depthFirstRecursion(board, node => {
2643
+ if (PlaitBoard.isBoard(node)) {
2644
+ return;
2645
+ }
2643
2646
  elements.push(node);
2644
2647
  }, node => {
2645
2648
  if (PlaitBoard.isBoard(node) || board.isRecursion(node)) {