mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-06 00:41:39 +08:00
12 lines
334 B
TypeScript
12 lines
334 B
TypeScript
import { SeniorToolExtension } from '@blocksuite/affine-widget-edgeless-toolbar';
|
|
import { html } from 'lit';
|
|
|
|
export const noteSeniorTool = SeniorToolExtension('note', ({ block }) => {
|
|
return {
|
|
name: 'Note',
|
|
content: html`<edgeless-note-senior-button
|
|
.edgeless=${block}
|
|
></edgeless-note-senior-button>`,
|
|
};
|
|
});
|