Skip to content
Discussion options

You must be logged in to vote

After some trial and error and digging around, I think I've stumbled upon a solution. I'll blame the decline of search engines for this one...

Anyway, when building a RichEditor plugin, the documentation provides a template on the following page:

https://filamentphp.com/docs/5.x/forms/rich-editor#extending-the-rich-editor

There are two methods here of importance. The first is getTipTapJsExtensions, and the second is getTipTapPhpExtensions. I neglected to read through https://github.com/ueberdosis/tiptap-php, because I was fixated on solving the in-browser experience.

I have now learned that as the tiptap-php package converts TipTap's JSON to HTML, it replicates the same default sanitizati…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mookman288
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant