start moving everything to components

This commit is contained in:
Philipp Kühn
2018-10-21 15:50:10 +02:00
parent 287a2bc523
commit d5e25de018
30 changed files with 524 additions and 56 deletions

View File

@@ -0,0 +1,34 @@
export default class Extension {
constructor(options = {}) {
this.options = {
...this.defaultOptions,
...options,
}
}
get name() {
return null
}
get type() {
return 'extension'
}
get defaultOptions() {
return {}
}
get plugins() {
return []
}
inputRules() {
return []
}
keys() {
return {}
}
}