Skip to content

Commit

Permalink
Fix placeholder for RTE
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-leamon committed Apr 26, 2024
1 parent bab0ddf commit 6be4e57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"version": "1.0.107",
"version": "1.0.108",
"description": "Formation is a comprehensive component library powered by React, Styled Components, and CSS variables for creating apps and websites that demand responsive, unified cross-platform experiences.",
"resolutions": {
"string-width": "^4",
Expand Down
2 changes: 1 addition & 1 deletion src/components/RichTextEditor/RichTextEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export const RichTextEditor: FC<RichTextEditorProps> = ({
{
((value === '' || value === '<p><br></p>') && placeholder) &&
<S.Placeholder minimal={minimal}>
Placeholder
{ placeholder }
</S.Placeholder>
}
</S.RichTextEditor>
Expand Down

0 comments on commit 6be4e57

Please sign in to comment.