Releases: bastihilger/nova-tiptap
0.3.7: Merge pull request #13 from TimothePearce/fix-headings
Add the ability to edit content with <h4>, <h5> and <h6> tags
show label in detail view
0.3.6 show label in detail field
Fix z-index Link Field
Merge pull request #9 from grevzi/fixes/issue#8-cant-add-a-link Issue #8 - can't add a link
Fix ? and / propagation
0.3.4 Fix ? and / propagation
Fixed bug (saving problem)
There was a bug in 0.3.2 which might have not let you save the content! This is fixed with this release.
Remove Font Awesome Pro dependency
Font Awesome Pro was replaced by Font Awesome Free.
As there are many icons only available as "solid" icons, it will look a bit different now.
With updated Readme
Deprecation note
In older versions you could set the level of headings by using the object style notation like this: 'heading' => 6, This is still working, but is deprecated. It will be removed in the next minor version.
New minor version: now uses vue-tiptap 1.x
In addition the buttons now respect the exact order in which they are listed in your Nova resource.
For this to work also with headings, there is now a new parameter that can be chained to your resource in addition to "buttons": "headingLevels". Only when you use "heading" as a simple string the heading buttons will not be appended at the end but inserted at the position where you actually want them.
The headingLevels
needs one paramenter: the number of levels, like so headingLevels(6)
.
This is the new format:
Tiptap::make('Cv')
->buttons([
'heading',
'italic',
'bold',
'code',
'link',
'strike',
'underline',
'bullet_list',
'ordered_list',
'code_block',
'blockquote',
])
->headingLevels(6),
0.2.2
- Make HTML elements work in editor even when the buttons are not requested
Nicer Index and Detail Field view
- Soft wrap in code block element
- Truncated collapsed html presentation in Index and Detail view