Closed jan-dh closed 10 months ago
You'll need to get familiar with the Vizy API for adding buttons. Worth checking out the user guides. You'll also need to know a bit about Tiptap, particularly insertContent
.
Oh totally missed those. Looks super interesting! Thanks 🙏
Tried following along the user guide on "Creating a custom Node from scratch" & implemented the Emoji button like in the guide, however, this gives me this error:
Database gives me:
[{"type":"paragraph","attrs":[],"content":[{"type":"emoji","attrs":{"emoji":":fire:"},"text":""}]}]
So that'll just be related to some refactoring we're doing. Fixed for the next release. To get this early, run composer require verbb/vizy:"dev-craft-4 as 2.1.8"
Fixed in 2.1.9
Question
I would like to have the ability to let's say define a couple of buttons that create content instead of applying styles to content. For example:
A lot of the times these buttons would help to provide consistency across content input.
Additional context
No response