Set Tiptap Output Format
3.xTiptap supports three output formats: HTML, JSON, and Text. You can set the default globally in the config or per-instance using ->output().
Important: If storing as JSON, ensure your database column is longText or json and that your model casts the attribute to json or array.
use FilamentTiptapEditor\Enums\TiptapOutput;
TiptapEditor::make('content')
->output(TiptapOutput::Json);