Skip to content

Placeholder for the entire content #1200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
danielrearden opened this issue Oct 30, 2024 · 0 comments · Fixed by #1376 or #1439
Closed
1 task done

Placeholder for the entire content #1200

danielrearden opened this issue Oct 30, 2024 · 0 comments · Fixed by #1376 or #1439
Labels
enhancement New feature or request sponsor

Comments

@danielrearden
Copy link

danielrearden commented Oct 30, 2024

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 💖
@danielrearden danielrearden added the enhancement New feature or request label Oct 30, 2024
This was referenced Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sponsor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants