mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-10 21:48:48 +08:00
14 lines
352 B
TypeScript
14 lines
352 B
TypeScript
import { SeniorToolExtension } from '@blocksuite/affine-widget-edgeless-toolbar';
|
|
import { html } from 'lit';
|
|
|
|
export const templateSeniorTool = SeniorToolExtension(
|
|
'template',
|
|
({ block }) => {
|
|
return {
|
|
name: 'Template',
|
|
content: html`<edgeless-template-button .edgeless=${block}>
|
|
</edgeless-template-button>`,
|
|
};
|
|
}
|
|
);
|