We currently use a custom button that doesn't allow editing so users can navigate when they click the button. The problem is that that button does not accept text or URL parameters. It's currently hardcoded. The new designs need this type of button functionality but the URL and text will need to change.
We currently use a custom button that doesn't allow editing so users can navigate when they click the button. The problem is that that button does not accept text or URL parameters. It's currently hardcoded. The new designs need this type of button functionality but the URL and text will need to change.
https://github.com/StevenDufresne/wporg-gutenberg/blob/trunk/source/wp-content/themes/wporg-gutenberg/js/button-readonly.js