Block Notes: Generate a Reference to a Block

I’m working on a block that, like many, isn’t limited to a single instance in the editor (and thus not the frontend); however, because there are certain features of the block I want to manipulate when the page loads, I want generate a reference to said block. For example, the structure of the markup in the function looks something like this: The functionality will allow the user to toggle the...

This post was originally published on Tom McFarlin by Tom.

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.