When the Heading extension is initialized, we are using only levels 1, 2 and 3 which indicates the tip-tap library to converts every level 4, 5 and 6 to a paragraph.
Fix
I added levels 4, 5 and 6 to the Heading options.
Notes
Changing the Heading options as I did doesn't change the default buttons. We still only have the h1, h2 and h3 ones.
Issue
This PR fixes the following issue: https://github.com/manogi/nova-tiptap/issues/12
Description
When the
Heading
extension is initialized, we are using only levels 1, 2 and 3 which indicates thetip-tap
library to converts every level 4, 5 and 6 to a paragraph.Fix
I added levels 4, 5 and 6 to the
Heading
options.Notes
Changing the
Heading
options as I did doesn't change the default buttons. We still only have the h1, h2 and h3 ones.