fix(editor): can not delete code block with delete keyboard (#11988)
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user