tiptap/packages/core/src/Node.ts
2020-03-30 10:42:59 +02:00

18 lines
238 B
TypeScript

import Extension from './Extension'
export default abstract class Node extends Extension {
constructor(options = {}) {
super(options)
}
public type = 'node'
public topNode = false
schema(): any {
return null
}
}