Gutenberg Block with Select from JSON-File
Gutenberg Block with Select from JSON-File
Gutenberg Block with Select from JSON-File
The Beta of ACF 5.8 lets you create Gutenberg blocks with custom fields. You can preview these block in the editor. Sadly, you have to be an ACF-Pro customer to use the beta. Otherwise you could try to fetch the custom fields via the REST-API utilizing this plugin: https://github.com/airesvsg/acf-to-rest-api/ Refer to this answer on how … Read more
The error which is shown by WordPress graphically is not the same output that you actually get from the block. Open up the browser’s console, and you will see the actual expected and outcome. Do a quick diff between the two outputs and you should be able to find your mismatch. The break tags and … Read more
Wrap Gutenberg blocks both frontend/backend (PHP approach with ACF)
Gutenberg Block Toolbar – remove button
The only solution I know is manipulating the DOM in Javascript: Select all figure containing an a, look for its figcaption and append it to the a.
Answering my own question. Since register_meta() actually appends to meta, not blocks, in the JSON output, I just added a new (redundant) attribute to my block using source:meta where I can manually manage outside the attributes I use to display the block. attributes: { api_coordinates: { type: ‘string’, source: ‘meta’, meta: ‘api_coordinates’, }, //… }
Block editor fails to update HTML section when the word “from” is in source code
Clipboard processing in Gutenburg
Gutenberg: import dependency or assign from global variable?