feat(editor): brush gfx package (#11131)

This commit is contained in:
Saul-Mirone
2025-03-24 09:28:45 +00:00
parent f0591bff11
commit 4d3eee3bad
28 changed files with 195 additions and 51 deletions

View File

@@ -1,5 +1,6 @@
export * from './element-transform';
export * from './indicator-overlay';
export * from './toolbar/config';
export * from './toolbar/senior-tool';
export * from './utils';
export * from './view';

View File

@@ -0,0 +1,15 @@
import { SeniorToolExtension } from '@blocksuite/affine-widget-edgeless-toolbar';
import { html } from 'lit';
export const mindMapSeniorTool = SeniorToolExtension(
'mindMap',
({ block, toolbarContainer }) => {
return {
name: 'Mind Map',
content: html`<edgeless-mindmap-tool-button
.edgeless=${block}
.toolbarContainer=${toolbarContainer}
></edgeless-mindmap-tool-button>`,
};
}
);