docs: update content

This commit is contained in:
Philipp Kühn 2021-10-26 18:43:58 +02:00
parent 642627ec36
commit e28b770f60

View File

@ -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],
} }
}, },