diff --git a/web/src/pages/agent/canvas/node/note-node/index.tsx b/web/src/pages/agent/canvas/node/note-node/index.tsx index 8ff4c1f24a..5698cdb2b2 100644 --- a/web/src/pages/agent/canvas/node/note-node/index.tsx +++ b/web/src/pages/agent/canvas/node/note-node/index.tsx @@ -18,6 +18,7 @@ import { useTranslation } from 'react-i18next'; import { z } from 'zod'; import { NodeWrapper } from '../node-wrapper'; import { ResizeIcon, controlStyle } from '../resize-icon'; +import { ToolBar } from '../toolbar'; import { useWatchFormChange, useWatchNameFormChange } from './use-watch-change'; const FormSchema = z.object({ @@ -57,28 +58,56 @@ function NoteNode({ (useWatchNoteNameFormChange || useWatchNameFormChange)(id, nameForm); return ( - - - - -
- -
- + + + + +
+ + + + ( + + + + + + + )} + /> + + +
+
+ ( - @@ -87,28 +116,8 @@ function NoteNode({ /> -
-
- - ( - - -