rename some vars

This commit is contained in:
Philipp Kühn
2020-04-10 22:07:27 +02:00
parent 4932488942
commit bd4fe7e5e3
7 changed files with 22 additions and 22 deletions

View File

@@ -7,13 +7,13 @@ export default abstract class Node extends Extension {
super(options)
}
public type = 'node'
public extensionType = 'node'
public topNode = false
abstract schema(): NodeSpec
get schemaType() {
get type() {
return this.editor.schema.nodes[this.name]
}