mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 12:06:35 +08:00
11 lines
396 B
TypeScript
11 lines
396 B
TypeScript
import { BlockViewExtension, CommandExtension } from '@blocksuite/block-std';
|
|
import type { ExtensionType } from '@blocksuite/store';
|
|
import { literal } from 'lit/static-html.js';
|
|
|
|
import { commands } from './commands/index.js';
|
|
|
|
export const EdgelessTextBlockSpec: ExtensionType[] = [
|
|
CommandExtension(commands),
|
|
BlockViewExtension('affine:edgeless-text', literal`affine-edgeless-text`),
|
|
];
|