From dc2fc273c55d337642e93d3e98fd560b2e57c236 Mon Sep 17 00:00:00 2001 From: celine Date: Tue, 2 Jul 2024 22:51:47 -0400 Subject: [PATCH] clicking anywhere on the bottom of the card focuses the last block --- components/Blocks.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/Blocks.tsx b/components/Blocks.tsx index dd987e22..6417f4f4 100644 --- a/components/Blocks.tsx +++ b/components/Blocks.tsx @@ -68,7 +68,12 @@ export function Blocks(props: { entityID: string }) { ); })} -
+
{ + focusBlock({ ...lastBlock, type: "text" }, { type: "end" }); + }} + />
); } -- 2.54.0