awcodes / filament-tiptap-editor

A Rich Text Editor plugin for Filament Forms.
MIT License
297 stars 86 forks source link

Add if statement to check if data is null #362

Closed DanielvdSpoel closed 7 months ago

DanielvdSpoel commented 7 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.