Skip to content

Commit

Permalink
feat: add default fontcolor value
Browse files Browse the repository at this point in the history
  • Loading branch information
erichartline committed Apr 2, 2021
1 parent 00348a8 commit 79d3f59
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/PageEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ const initialValue = [
{
type: "paragraph",
children: [
{ fontFamily: "Roboto", text: "A line of text in a paragraph." },
{
fontFamily: "Roboto",
fontColor: "rgba(0, 0, 0, 0.87)",
text: "A line of text in a paragraph.",
},
],
},
]
Expand Down

0 comments on commit 79d3f59

Please sign in to comment.