This commit is contained in:
Philipp Kühn
2020-03-30 12:40:25 +02:00
parent 9c6e553a2b
commit fd476901c4
9 changed files with 92 additions and 6 deletions

View File

@@ -14,4 +14,8 @@ export default abstract class Node extends Extension {
return null
}
get schemaType() {
return this.editor.schema.nodes[this.name]
}
}