tiptap/examples/Components/Routes/Title/Doc.js

12 lines
150 B
JavaScript
Raw Normal View History

2019-06-22 04:00:42 +08:00
import { Doc } from 'tiptap'
export default class CustomDoc extends Doc {
get schema() {
return {
content: 'title block+',
}
}
}