How can I access core/paragraph textColor in a block template


I am trying to set the default textColor of an Innerblocks => paragraph in my Gutenberg block plugin.

The problem seems to be that placeholder is an attribute but textColor is passed as a prop

Wondering if anyone has figured out how to set this. Or if it is not possible.

The documentation does not seem to cover this

    ["core/paragraph", { placeholder: "Enter side content...", textColor: '#EF4A23' }]
Andrew 2 months 0 Answers 9 views 0

Leave an answer