mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
fix(editor): can not delete code block with delete keyboard (#11988)
This commit is contained in:
@@ -332,7 +332,7 @@ export class CodeBlockComponent extends CaptionedBlockComponent<CodeBlockModel>
|
||||
return true;
|
||||
},
|
||||
Delete: () => {
|
||||
return true;
|
||||
return;
|
||||
},
|
||||
Enter: () => {
|
||||
this.doc.captureSync();
|
||||
|
||||
Reference in New Issue
Block a user