Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
Try to get placeholder from data
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed Jul 27, 2020
1 parent 0fe5367 commit 07bdb70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TextBlock/TextBlockEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const TextBlockEdit = (props) => {
}}
onKeyDown={handleKey}
selected={selected}
placeholder="Enter some rich text…"
placeholder={data.placeholder || "Enter some rich text…"}
/>
)}
</Dropzone>
Expand Down

0 comments on commit 07bdb70

Please sign in to comment.