From bdeeba1bbc18ade89bae73b15f326206acc8aa7f Mon Sep 17 00:00:00 2001 From: cohitre Date: Mon, 26 Feb 2024 08:52:21 -0800 Subject: [PATCH] Fixing default Heading block (#15) --- .../blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.tsx b/packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.tsx index f836620..d8199b2 100644 --- a/packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.tsx +++ b/packages/editor-sample/src/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.tsx @@ -38,6 +38,9 @@ export const BUTTONS: TButtonProps[] = [ type: 'Heading', data: HeadingPropsSchema.parse({ props: { text: 'Hello friend' }, + style: { + padding: { top: 16, bottom: 16, left: 24, right: 24 }, + }, }), }), },