You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm loading my inspector controls into a block using separate components. One component named text-inspector contains inspector controls for text and another component named social-inspector contains inspector controls for social icons.
I'm using components for inspector controls because I want to re-use them in other blocks. It makes more sense to make them modular. Below is my attempt which does not work...
I'm loading my inspector controls into a block using separate components. One component named text-inspector contains inspector controls for text and another component named social-inspector contains inspector controls for social icons.
I'm using components for inspector controls because I want to re-use them in other blocks. It makes more sense to make them modular. Below is my attempt which does not work...
In my block index.js:
The text-inspector component (this is a simplified example. I know that it's better to use the richtext component for adding text to blocks):
The social-inspector component:
The text was updated successfully, but these errors were encountered: