Skip to content

Commit

Permalink
fix: improve styling of placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
petyosi committed Aug 26, 2023
1 parent 0b4080d commit c228c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MDXEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const RichTextEditor: React.FC = () => {
<RichTextPlugin
contentEditable={<ContentEditable className={classNames(styles.contentEditable, contentEditableClassName)} />}
placeholder={
<div className={classNames(styles.contentEditable, styles.placeholder)}>
<div className={classNames(styles.contentEditable, styles.placeholder, contentEditableClassName)}>
<p>{placeholder}</p>
</div>
}
Expand Down

0 comments on commit c228c11

Please sign in to comment.