refactor(editor): remove code block service (#11010)

This commit is contained in:
Saul-Mirone
2025-03-19 13:38:10 +00:00
parent 1c6a876e6a
commit ee65d66d67
5 changed files with 55 additions and 53 deletions
@@ -0,0 +1,7 @@
import { CodeBlockSchema } from '@blocksuite/affine-model';
import { textKeymap } from '@blocksuite/affine-rich-text';
import { KeymapExtension } from '@blocksuite/block-std';
export const CodeKeymapExtension = KeymapExtension(textKeymap, {
flavour: CodeBlockSchema.model.flavour,
});