WordPress / wporg-gutenberg

The theme for https://wordpress.org/gutenberg/
https://wordpress.org/gutenberg/
10 stars 5 forks source link

The readonly button needs to accept a url. #11

Closed StevenDufresne closed 2 years ago

StevenDufresne commented 2 years ago

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

StevenDufresne commented 2 years ago

Added in c325e7ae6905f086415ea5319e3f90186b04cd3c