Skip to content
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

Placeholder doesn't show up with TrailingNodeExtension #1997

Open
lucasbesen opened this issue Feb 23, 2023 · 1 comment
Open

Placeholder doesn't show up with TrailingNodeExtension #1997

lucasbesen opened this issue Feb 23, 2023 · 1 comment
Labels
type: bug 🪲 Something isn't working

Comments

@lucasbesen
Copy link

Summary

Placeholder string doesn't show up with TrailingNodeExtension

Steps to reproduce

Just add both PlaceholderExtension and TrailingNodeExtension and check what's rendered

Expected results

It should render the placeholder if it's empty or content is just a trailing node

Actual results

Placeholder is not being rendered

Screenshot(s)

image

@lucasbesen lucasbesen added the type: bug 🪲 Something isn't working label Feb 23, 2023
@slvvn
Copy link

slvvn commented Jun 5, 2023

Are you importing the Remirror styles?

import "remirror/styles/all.css";

Or when you want to import the placeholder styles only:

import "remirror/styles/extension-placeholder.css";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🪲 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants