From 223c967f81fd59e0c21220a22d612147e87b4bb2 Mon Sep 17 00:00:00 2001 From: Kartik Labhshetwar Date: Fri, 12 Dec 2025 21:29:24 +0530 Subject: [PATCH] style: add spacing and rounded corners to toolbar dropdown items (#25829) --- .../ui/components/editor/plugins/ToolbarPlugin.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 ( - +