diff --git a/packages/ui/components/editor/plugins/ToolbarPlugin.tsx b/packages/ui/components/editor/plugins/ToolbarPlugin.tsx index aa08a117b2..2aeca63a7b 100644 --- a/packages/ui/components/editor/plugins/ToolbarPlugin.tsx +++ b/packages/ui/components/editor/plugins/ToolbarPlugin.tsx @@ -451,7 +451,7 @@ export default function ToolbarPlugin(props: TextEditorProps) { if (!props.editable) return null; return ( -
+
<> {!props.excludedToolbarItems?.includes("blockType") && ( <> @@ -465,16 +465,18 @@ export default function ToolbarPlugin(props: TextEditorProps) { - + {Object.keys(blockTypeToBlockName).map((key) => { return ( - +