add title example
This commit is contained in:
11
examples/Components/Routes/Title/Doc.js
Normal file
11
examples/Components/Routes/Title/Doc.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Doc } from 'tiptap'
|
||||
|
||||
export default class CustomDoc extends Doc {
|
||||
|
||||
get schema() {
|
||||
return {
|
||||
content: 'title block+',
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user