@wordpress/hooks use to add actions/filters within multiple plugin
@wordpress/hooks use to add actions/filters within multiple plugin
@wordpress/hooks use to add actions/filters within multiple plugin
Set current tab on a Gutenberg TabPanel component from outside that component
Text Editors Are Hiding Text
How to handle Gutenberg wp.data async errors?
Extend core block attributes in post content
In the meanwhile I posted this question also on Stackoverflow. I got a hint in a comment to the question which led me to a solution. I didn’t find a pure CSS solution, but used the following jQuery script to add according classes dynamically: $(document).ready(function() { if($(‘body’).hasClass(‘post-type-page’)) { $(‘#editor’).addClass(‘post-type-page’); } else if($(‘body’).hasClass(‘post-type-post’)) { $(‘#editor’).addClass(‘post-type-post’); } … Read more
It’s theoretically possible but would require reloading the page again because the page template can be changed after the content is initially loaded for editing; unlike a post-type. (Maybe try to use UpdateSettings to do this although documentation is scarce.
Gutenberg disable the “block” tab in right sidebar
Adding a Gutenberg-like custom field on a custom post type
wordpress gutenberg url popover custom options