Making an empty RichEditor field save as null
Has anyone figured out how to make an empty RichEditor field save as null in the database? To avoid empties saving as
as those render into
<p></p>
so its a bit weird to check whether the value exists.2 Replies
i guess
That failed there seem to be other empty json structures, maybe
You can use something like this:
to convert it back.