Categories
WordPress

Trigger Gutenberg editor notices via the console

A snippet to drop in the console that will trigger a notice in the WordPress editor (i.e. Gutenberg).

Categories
WordPress

Log a Gutenberg block’s attributes to the console

How to log a Gutenberg block’s attributes to the console for helpful debugging and an introduction to WordPress data stores.