From ff8c5ee910e47122088d286d0ba0b23ec0bc2c1f Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Fri, 10 Jan 2025 10:18:45 +0530 Subject: [PATCH] fix: floating toolbar ui (#6368) --- .../src/core/components/menus/bubble-menu/root.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/editor/src/core/components/menus/bubble-menu/root.tsx b/packages/editor/src/core/components/menus/bubble-menu/root.tsx index 4ed3709f408..3f4e97ca706 100644 --- a/packages/editor/src/core/components/menus/bubble-menu/root.tsx +++ b/packages/editor/src/core/components/menus/bubble-menu/root.tsx @@ -87,12 +87,9 @@ export const EditorBubbleMenu: FC = (props: any) => { }, []); return ( - + {!isSelecting && ( - <> +
{!props.editor.isActive("table") && ( = (props: any) => { editor.commands.setTextSelection(pos ?? 0); }} /> - +
)} );