Gutenberg TextareaControl escapes html
Gutenberg TextareaControl escapes html
Gutenberg TextareaControl escapes html
I was trying to figure this out all afternoon as well and figured out as well that the className is passed along by default in the save function for the root of certain elements. e.g. in the following code example where className is warning return ( <div className=”other-class-name” value={ props.attributes.content } />; will return an … Read more
Generate YouTube image thumbnail in a Gutenberg block – ACF + Timber
Luke, I’ve only done some but I’ve had some existing block styles and block style variations break after updates (examples 1, 2). So far, I haven’t found many proactive things to do prevent your blocks from breaking in the first place besides this list on backwards compatibility and would love a core Gutenberg contributor to … Read more
disable gutemberg welcome message
data-* attributes in blocks
How to get boolean value from register_meta properly?
Hide Polylang metabox from the post edit sidebar
You can’t find that documentation because it doesn’t exist. It doesn’t exist because that’s not how it works, and it would require extensive duplication to set up. So to figure out what you need to put, figure out what it is in Javascript/JSON, then translate it to PHP. The pattern is: [ ‘block name’ [ … Read more
Add button gutenberg help