Add DockedPanelLayer to workflow editor for panel management

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-11-23 10:48:13 +00:00
parent 47e887cf83
commit b356069e6c

View File

@ -12,6 +12,7 @@ import {
SyncOutlined, SyncOutlined,
} from '@ant-design/icons'; } from '@ant-design/icons';
import { EditorRenderer, FreeLayoutEditorProvider } from '@flowgram.ai/free-layout-editor'; import { EditorRenderer, FreeLayoutEditorProvider } from '@flowgram.ai/free-layout-editor';
import { DockedPanelLayer } from '@flowgram.ai/panel-manager-plugin';
import '@flowgram.ai/free-layout-editor/index.css'; import '@flowgram.ai/free-layout-editor/index.css';
import intl from 'react-intl-universal'; import intl from 'react-intl-universal';
import { nodeRegistries } from './nodes'; import { nodeRegistries } from './nodes';
@ -141,6 +142,7 @@ const FlowgramEditor = forwardRef<FlowgramEditorRef, FlowgramEditorProps>(
</div> </div>
<div className="flowgram-editor-wrapper"> <div className="flowgram-editor-wrapper">
<EditorRenderer className="flowgram-editor" /> <EditorRenderer className="flowgram-editor" />
<DockedPanelLayer />
</div> </div>
</FreeLayoutEditorProvider> </FreeLayoutEditorProvider>
</div> </div>