From ca3455007a01443191d026a68361f2f2ce6b9003 Mon Sep 17 00:00:00 2001 From: Erik Pasternak Date: Wed, 18 Jun 2025 14:11:20 -0700 Subject: [PATCH] fix: Allow enter to be handled on blocks --- src/actions/enter.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/actions/enter.ts b/src/actions/enter.ts index 12b467a1..825357aa 100644 --- a/src/actions/enter.ts +++ b/src/actions/enter.ts @@ -121,6 +121,7 @@ export class EnterAction { ) { return !workspace.isReadOnly(); } + if (curNode instanceof BlockSvg) return true; // Returning true is sometimes incorrect for icons, but there's no API to check. if (curNode instanceof icons.Icon) return true; return false;