mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-21 15:28:09 +08:00
28 lines
331 B
TypeScript
28 lines
331 B
TypeScript
|
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 () => {}
|
||
|
}
|
||
|
|
||
|
}
|