and storing it as html.. when remove all content from the editor still there a
P
P
tag.
if this normal, how we should check if the field has actual content or not. previously we do:
if(filled($zeusForm->details))
if(filled($zeusForm->details))
but its always filled even if the user didnt write anything!
Solution
I swear I’m handling this some where in my plugin to convert between null and the tag, but can’t find it.
But, yes, it’s expected behavior with Tiptap since it has to have p tag at minimum with prosemirror, otherwise you wouldn’t be able to insert a cursor to start typing.