There is no need to check if the state is json because Livewire will encode any field value to json when using "entangle".
On the other hand it is required to cast the field data to array or json for the editor to accept the state as valid json.
I have update the readme and removed redundant code.
The isJson() method has been marked as deprecated for backward compatibility
Fixes:
published css path for the image
Non breaking change:
There is no need to check if the state is json because Livewire will encode any field value to json when using "entangle". On the other hand it is required to cast the field data to array or json for the editor to accept the state as valid json. I have update the readme and removed redundant code.
The isJson() method has been marked as deprecated for backward compatibility