diff --git a/src/TiptapEditor.php b/src/TiptapEditor.php index 1f5525a..5b57c54 100644 --- a/src/TiptapEditor.php +++ b/src/TiptapEditor.php @@ -481,6 +481,6 @@ public function getGridLayouts(): array private function isStateEmpty(string|array|null $state): bool { - return tiptap_converter()->asText($state) === ''; + return tiptap_converter()->asHtml($state) === '

'; } }