start moving everything to components
This commit is contained in:
34
packages/_legacy-tiptap/src/utils/extension.js
Normal file
34
packages/_legacy-tiptap/src/utils/extension.js
Normal 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 {}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user