JavaScript for WordPress › Forums › Gutenberg Development › Duplicate Inspector Controls › Reply To: Duplicate Inspector Controls
January 31, 2018 at 4:40 pm
#40209
ibenic
Participant
Hi Zac, thank you for such a quick reply.
Your examples are working fine. I’ve figured it out. Since I am using a Component here and not a regular function, I did not have access to focus. I had to use this.props.focus to access it.
Works with that 😉