bastihilger / nova-tiptap

Laravel Nova Tiptap Field
MIT License
172 stars 61 forks source link

Add the ability to edit content with <h4>, <h5> and <h6> tags #13

Closed timothepearce closed 4 years ago

timothepearce commented 4 years ago

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 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.

bastihilger commented 4 years ago

Merged, Thank you @TimothePearce !