mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 11:09:01 +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+',
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|