Passing RichText attributes to function onChange
I have four RichText elements in a custom Gutenberg block I am developing, and they are all very similar except for the “name” attribute, which is currently hard-coded. What I need to do is pass in the value of the change, and the value of the name attribute to a function before using SetAttribute. Is … Read more