Open anuj9196 opened 1 year ago
When I pass placeholder, the placeholder turns into grey text with a grey background.
placeholder
private defaultConfig: EditorConfig = { height: '300px', minHeight: '200px', initialEditType: 'wysiwyg', previewStyle: 'tab', previewHighlight: false, usageStatistics: false, language: 'en-US', useCommandShortcut: true, hideModeSwitch: false, placeholder: 'Enter text...' }
The placeholder should appear clear.
Add any other context about the problem here.
This problem can be solved by modifying css.
.ProseMirror .placeholder { color: #343A3E; background-color: transparent; }
Describe the bug
When I pass
placeholder
, the placeholder turns into grey text with a grey background.Expected behavior
The placeholder should appear clear.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.