Save the post parent in a custom post type in Gutenberg
Save the post parent in a custom post type in Gutenberg
Save the post parent in a custom post type in Gutenberg
How to link the whole list item in Gutenberg’s latest posts block?
How to automatically remove noreferrer from targetd link rel attribute, on render?
It really depends on your specific use case. how you’re structuring your data to begin with, how much content do you have for the site (is it 10 pages or hundreds?); will the same content or information be used in multiple places on the website, how do you plan to update it (are you expecting … Read more
Inline Styles on all native blocks
Gutenberg block – Save PHP function’s output as HTML?
Not supported yet, see the corresponding Github Issue. I found a workaround in order to at least register additional block styles: register_block_style( ‘create-block/myblock’, array( ‘name’ => ‘style2’, ‘label’ => ‘Style 2’, ‘style_handle’ => ‘create-block-myblock-style-2’, ) );
Fetch post block/field data as JSON with WordPress API
Placing a custom Control element in an existing block InspectorControls panel
Ah … Got it. It’s not related to Gutenberg editor but WordPress core itself: window.wp.editor is being initiated here with those methods: https://github.com/WordPress/wordpress-develop/blob/9ed92faaca92f66ec9e2979c9d896ddab3e4e993/src/js/_enqueues/wp/editor/base.js And then, window.wp.oldEditor = window.wp.editor: https://github.com/WordPress/wordpress-develop/blob/5868743f1f2b05c93642c9eebf89cb7f6610d6df/src/wp-includes/script-loader.php#L369