Skip to content

Tiptap leaves empty <p> tag, how to remove it? #154

@bdrtsky

Description

@bdrtsky

I am doing client side validation, and want to notice user when content is empty, but Tiptap leaves <p></p> even if there's no content in editor. Make no sense. How to remove everything when user deletes all content in editor?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions