refactor(editor): add schema on block model (#9815)

This commit is contained in:
Saul-Mirone
2025-01-21 03:56:10 +00:00
parent d2bde09ef6
commit f744002808
7 changed files with 28 additions and 23 deletions

View File

@@ -20,6 +20,10 @@ export class Schema {
}
};
get(flavour: string) {
return this.flavourSchemaMap.get(flavour);
}
validate = (
flavour: string,
parentFlavour?: string,