Hiyve Components - v1.0.0
    Preparing search index...

    Function isContentEmpty

    • Check if content is empty or contains only whitespace.

      Parameters

      • content:
            | {
                content?: {
                    content?: { text?: string }[];
                    text?: string;
                    type?: string;
                }[];
                type?: string;
            }
            | null
            | undefined

        TipTap JSON content

      Returns boolean

      True if content is empty