File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
features/workspace/canvas-tools Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,13 @@ import { migrateWebstudioDataMutable } from "~/shared/webstudio-data-migrator";
6464import { Loading , LoadingBackground } from "./shared/loading" ;
6565import { mergeRefs } from "@react-aria/utils" ;
6666import { CommandPanel } from "./features/command-panel" ;
67+
6768import {
6869 initCopyPaste ,
6970 initCopyPasteForContentEditMode ,
7071} from "~/shared/copy-paste/init-copy-paste" ;
7172import { useInertHandlers } from "./shared/inert-handlers" ;
73+ import { TextToolbar } from "./features/workspace/canvas-tools/text-toolbar" ;
7274
7375registerContainers ( ) ;
7476
@@ -416,6 +418,9 @@ export const Builder = ({
416418 />
417419 }
418420 />
421+ < Main css = { { pointerEvents : "none" } } >
422+ < TextToolbar />
423+ </ Main >
419424 { isPreviewMode === false && < Footer /> }
420425 < CloneProjectDialog
421426 isOpen = { isCloneDialogOpen }
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import {
1212 HoveredInstanceOutline ,
1313 SelectedInstanceOutline ,
1414} from "./outline" ;
15- import { TextToolbar } from "./text-toolbar" ;
15+
1616import { Label } from "./outline/label" ;
1717import { Outline } from "./outline/outline" ;
1818import { useSubscribeDragAndDropState } from "./use-subscribe-drag-drop-state" ;
@@ -80,8 +80,6 @@ export const CanvasTools = () => {
8080 < SelectedInstanceOutline />
8181 < HoveredInstanceOutline />
8282 < CollaborativeInstanceOutline />
83- < TextToolbar />
84-
8583 < BlockChildHoveredInstanceOutline />
8684 </ >
8785 ) }
You can’t perform that action at this time.
0 commit comments