Created
April 17, 2020 00:33
-
-
Save byronwade/7c572f7b6b634fbcca26d95832eb0e61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* include the paragraph block and if its being queryed then display it passing the props down to it */ | |
/* this is just me throwing somthing in quickly but I think you might understand what im doing */ | |
<Paragraph className="props.className" content="props.content" /> | |
query MyQuery { | |
pages { | |
nodes { | |
blocks { | |
... on CoreParagraphBlock { | |
parentId | |
name | |
attributes { | |
... on CoreParagraphBlockAttributesV3 { | |
align | |
backgroundColor | |
className | |
content | |
customBackgroundColor | |
customFontSize | |
customTextColor | |
direction | |
dropCap | |
fontSize | |
placeholder | |
textColor | |
width | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment