From 9fc1f0e6d079114c9fdb0cfc41a271f0e5dce898 Mon Sep 17 00:00:00 2001 From: zbeyens Date: Wed, 18 Dec 2024 12:47:58 +0100 Subject: [PATCH] fix --- apps/www/src/registry/default/components/editor/transforms.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/www/src/registry/default/components/editor/transforms.ts b/apps/www/src/registry/default/components/editor/transforms.ts index 7bd776c31e..1efd7d71ee 100644 --- a/apps/www/src/registry/default/components/editor/transforms.ts +++ b/apps/www/src/registry/default/components/editor/transforms.ts @@ -185,7 +185,7 @@ export const setBlockType = ( } } - const entries = getBlocks(editor); + const entries = getBlocks(editor, { mode: 'lowest' }); entries.forEach((entry) => setEntry(entry)); });