Skip to content

Type Editor


Type Editor / @type-editor/menu / menu-items/util/document-is-not-empty

menu-items/util/document-is-not-empty

Functions

FunctionDescription

documentIsNotEmpty

Checks if the document contains any meaningful content.

A document is considered empty if it has exactly one child that is an empty textblock (e.g., an empty paragraph).