add extension class

This commit is contained in:
Philipp Kühn
2019-12-16 23:20:05 +01:00
parent 6f1aedb2b2
commit 3b291c3a3c
7 changed files with 129 additions and 9 deletions

View File

@@ -0,0 +1,27 @@
import Extension from './Extension'
export default class Node extends Extension {
constructor(options = {}) {
super(options)
}
// protected type = 'node'
get type() {
return 'node'
}
get view(): any {
return null
}
get schema(): any {
return null
}
command() {
return () => {}
}
}