WordPress / block-development-examples

Practical examples for building WordPress blocks and extending the Editor.
https://wordpress.github.io/block-development-examples/
GNU General Public License v2.0
213 stars 32 forks source link

Enforce requirement: Must have Gutenberg plugin installed #91

Closed flexseth closed 7 months ago

flexseth commented 8 months ago

As of WordPress 6.5, plugins can throw an error if another plugin they depend on is not installed.

In the case of the Interactivity API - as of now - Gutenberg is required. This PR makes the user aware of this requirement, and prompts them to install the plugin if it is not installed when trying to use the block.

Proof of concept/testing the new header

flexseth commented 7 months ago

See