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

@@ -40,14 +40,14 @@ export default class ExtensionManager {
get nodes(): any {
return collect(this.extensions)
.where('type', 'node')
.where('extensionType', 'node')
.mapWithKeys((extension: any) => [extension.name, extension.schema()])
.all()
}
get marks(): any {
return collect(this.extensions)
.where('type', 'mark')
.where('extensionType', 'mark')
.mapWithKeys((extension: any) => [extension.name, extension.schema()])
.all()
}