mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 19:29:02 +08:00
12 lines
150 B
JavaScript
12 lines
150 B
JavaScript
|
import { Doc } from 'tiptap'
|
||
|
|
||
|
export default class CustomDoc extends Doc {
|
||
|
|
||
|
get schema() {
|
||
|
return {
|
||
|
content: 'title block+',
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|