Gutenberg: How to mix dynamic and static output?
Gutenberg: How to mix dynamic and static output?
Gutenberg: How to mix dynamic and static output?
You are getting this error because your edit and save function output doesn’t match. save({attributes}) { return ( <button class=”usa-button”> { attributes.text } </button> ); } precisely, { attributes.text } is the save function is not being called or used in edit function. Either add attributes.text in edit function or remove that from save function. … Read more
Gutenberg – What is the best way to save/update post meta?
You may need to use the same approach that conditional editor stylesheets require now (for TinyMCE). function my_theme_add_editor_styles() { global $post; $post_type = get_post_type( $post->ID ); $editor_style=”editor-style-” . $post_type . ‘.css’; add_editor_style( $editor_style ); } add_action( ‘pre_get_posts’, ‘my_theme_add_editor_styles’ ); This snippet is from a Hongkiat article describing the process. Note: You would then have a … Read more
You can use the group block to act as a container for a core block or any other block…
Modifying the Gutenberg Button Block
Gutenberg not all editor text translated
Changing image size to full size in Gutenberg’s block gallery
How to return output of the new wp gallery block for automatically Link images To Media file
How do I add a Gutenberg editor to a custom options page