awcodes / filament-tiptap-editor

A Rich Text Editor plugin for Filament Forms.
MIT License
249 stars 64 forks source link

Add if statement to check if data is null #362

Closed DanielvdSpoel closed 2 months ago

DanielvdSpoel commented 2 months ago

In some cases $data can be null, I'm not exactly sure why but I think this commit provides a good fail-safe that in case it happens, the application doesn't completely crash.