mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-11 20:23:36 +08:00
docs: update content
This commit is contained in:
parent
642627ec36
commit
e28b770f60
@ -73,7 +73,7 @@ import Heading from '@tiptap/extension-heading'
|
|||||||
const CustomHeading = Heading.extend({
|
const CustomHeading = Heading.extend({
|
||||||
addOptions() {
|
addOptions() {
|
||||||
return {
|
return {
|
||||||
...this.parent(),
|
...this.parent?.(),
|
||||||
levels: [1, 2, 3],
|
levels: [1, 2, 3],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user