fix(editor): can not delete code block with delete keyboard (#11988)

This commit is contained in:
doufa authored and GitHub committed 2025-05-06 16:14:41 +08:00
1 parent 24f52ed649
commit 1994dd6d9d
2 files changed
+34 -2

No files matched your search

@@ -332,7 +332,7 @@ export class CodeBlockComponent extends CaptionedBlockComponent<CodeBlockModel>
return true;
},
Delete: () => {
return true;
return;
},
Enter: () => {
this.doc.captureSync();