Placeholder
See original GitHub issueHi! Right now the placeholder it’s in black color and you can’t write in the same line on textarea. I added this lines to your style. I think that it’s better, because the placeholder has appearance as real placeholder.
.public-DraftEditorPlaceholder-inner {
position: absolute;
color: #aaaaaa;
}
Issue Analytics
- State:
- Created 7 years ago
- Reactions:10
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Placeholder.com: Placeholder.com – The Free Image ...
Placeholder.com is a free image placeholder service for web designers, serving billions and billions of images each year. You can specify image size...
Read more >Placeholder Definition & Meaning - Merriam-Webster
The meaning of PLACEHOLDER is a person or thing that occupies the position or place of another person or thing. How to use...
Read more >placeholder - Wiktionary
NounEdit. placeholder (plural placeholders). Something used or included temporarily or as a substitute for something that is not known or must remain ...
Read more >HTML input placeholder Attribute - W3Schools
The placeholder attribute specifies a short hint that describes the expected value of an input field (e.g. a sample value or a short...
Read more >placeholder - CSS: Cascading Style Sheets - MDN Web Docs
The ::placeholder CSS pseudo-element represents the placeholder text in an or element.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@AlvaroIHS Use the css contained in the draft.js repo as a starting point. Placeholders whould work as expected afterwards: https://github.com/facebook/draft-js/blob/master/src/component/utils/DraftStyleDefault.css