v4 testing RichEditor inside form
Is there a simpler way of populating the editor inside fillForm?
Without the array you get error from the
beforeStateDehydrated
TypeError: Filament\Forms\Components\RichEditor::{closure:Filament\Forms\Components\RichEditor::setUp():303}(): Argument #2 ($rawState) must be of type ?array, string given
2 Replies
Bump
The form field has to be in the correct array structure that tiptap is expecting. So, not really an easy way. I am working on a plugin to add some missing features to the rich editor which will include the faker and converter functionality from my Tiptap editor plugin. But it’s not ready yet.