Skip to content

Placeholder for the entire content #1200

@danielrearden

Description

@danielrearden

Is your feature request related to a problem? Please describe.
Blocknote supports placeholders for individual components, but does not have a way to render a separate placeholder for when the content is completely empty. We can override the paragraph placeholder, but this isn't desirable since we only want the placeholder to show when there is no content, not for every empty paragraph.

Example use case, writing a reply to a social post and having the placeholder be something like "Reply to Sarah..."

Describe the solution you'd like
A separate placeholder property on the editor component that would be rendered only when the content is empty.

Describe alternatives you've considered
We've implemented this on our own, but it requires some hacky workarounds. Something supported out-of-the-box by Blocknote would be much nicer.

Additional context
Add any other context or screenshots about the feature request here.

Bonus

  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions