refactor: change activatable to editable in BaseVeiw

This commit is contained in:
QiShaoXuan
2022-08-19 20:41:09 +08:00
parent 01339fc77d
commit e1dece0595
11 changed files with 23 additions and 23 deletions
@@ -16,7 +16,7 @@ import { ComponentType } from 'react';
export class CodeBlock extends BaseView {
type = Protocol.Block.Type.code;
public override selectable = true;
public override activatable = false;
public override editable = false;
// View = CodeView;
View = CodeView;
override async onCreate(block: AsyncBlock): Promise<AsyncBlock> {