mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 10:22:55 +08:00
refactor(editor): add schema on block model (#9815)
This commit is contained in:
@@ -20,6 +20,10 @@ export class Schema {
|
||||
}
|
||||
};
|
||||
|
||||
get(flavour: string) {
|
||||
return this.flavourSchemaMap.get(flavour);
|
||||
}
|
||||
|
||||
validate = (
|
||||
flavour: string,
|
||||
parentFlavour?: string,
|
||||
|
||||
Reference in New Issue
Block a user