mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-11 15:16:28 +08:00
refactor(editor): remove code block service (#11010)
This commit is contained in:
@@ -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,
|
||||
});
|
||||
Reference in New Issue
Block a user