After being a freelance web developer for 12 years, I got a fulltime gig at Leadtech, Barcelona as a front-end developer. I'm the advocate of switching to Gutenberg blocks on our current WP web sites.
Within the <ButtonEditComponent /> I then I constructed my own <Popover /> that is displayed when user wants to edit the options of the button. Inside of that I was able to achieve what I needed.
I hope that helps to point you in your desired direction. That is if you haven't worked it out yourself yet (and probably better) 😀 Good luck!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Felipe, sorry I have not seen your comment earlier. Short answer – no. I haven't worked out how to use
<LinkControl />
I wanted.Longer answer
I have worked out something that served my particular case. I built it a workaround by modifying the edit function of the
core/button
.I made a higher order component and added a filter that replaces the default
edit
function forcore/button
.Within the
<ButtonEditComponent />
I then I constructed my own<Popover />
that is displayed when user wants to edit the options of the button. Inside of that I was able to achieve what I needed.I hope that helps to point you in your desired direction. That is if you haven't worked it out yourself yet (and probably better) 😀 Good luck!