mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-22 08:07:50 +08:00
33 lines
462 B
TypeScript
33 lines
462 B
TypeScript
import Extension from './Extension'
|
|
|
|
export default abstract class Node extends Extension {
|
|
|
|
constructor(options = {}) {
|
|
super(options)
|
|
}
|
|
|
|
public type = 'node'
|
|
|
|
public topNode = false
|
|
|
|
// get type() {
|
|
// return 'node'
|
|
// }
|
|
|
|
// get view(): any {
|
|
// return null
|
|
// }
|
|
|
|
// get schema(): any {
|
|
// return null
|
|
// }
|
|
|
|
public abstract schema: any
|
|
// public abstract plugins?: any
|
|
|
|
// command() {
|
|
// return () => {}
|
|
// }
|
|
|
|
}
|