mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 12:36:24 +08:00
9c0633b75c
Closes: BS-3212
16 lines
392 B
TypeScript
16 lines
392 B
TypeScript
import { QuickToolExtension } from '@blocksuite/affine-widget-edgeless-toolbar';
|
|
import { html } from 'lit';
|
|
|
|
export const connectorQuickTool = QuickToolExtension(
|
|
'connector',
|
|
({ block }) => {
|
|
return {
|
|
type: 'connector',
|
|
content: html`<edgeless-connector-tool-button
|
|
.edgeless=${block}
|
|
></edgeless-connector-tool-button>`,
|
|
priority: 80,
|
|
};
|
|
}
|
|
);
|