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

slate-react placeholder unable to change the style #4123

Closed
meowWhat opened this issue Mar 15, 2021 · 2 comments · Fixed by #4190
Closed

slate-react placeholder unable to change the style #4123

meowWhat opened this issue Mar 15, 2021 · 2 comments · Fixed by #4190
Labels

Comments

@meowWhat
Copy link

Problem
image

the leaf with placeholder use the inline-styles,user cannot change the placeholder style ,Can I make the placeholder render configurable .

Even if I rewrite RenderLeaf, I can't find the placeholder node by symbol tag .

@ianstormtaylor
Copy link
Owner

I think if people want to do this it should like be as a renderPlaceholder= overrideable prop, which defaults to the current built-in behavior.

@juliankrispel
Copy link
Collaborator

I think if people want to do this it should like be as a renderPlaceholder= overrideable prop, which defaults to the current built-in behavior.

#4190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants