How to get blocks with same heigh in columns?

Finally, I found a solution with flex attributes: I defined the following CSS rules : .flexColumn { display: flex; flex-direction: column; align-self: auto !important; } .flexItem { flex-grow: 1 !important; } I can now apply flexColumn to the columns and flexItem to the items that I want to grow to fill the empty space: For … Read more

Create plugin with multiple blocks

I edited the start/build scripts in package.json to this and it works. “build”: “wp-scripts build –webpack-src-dir=block/post-type-register/src –output-path=block/post-type-register/build”, “start”: “wp-scripts start –webpack-src-dir=block/post-type-register/src –output-path=block/post-type-register/build”

Layout Settings in the new Gutenberg editor

For a very basic implementation of adding a text input to add body classes(would also work for adding a second field for post classes if necessary) to pages/posts, you could do the following: Register a custom field with register_post_meta – I’ll use an empty string for the first param, post_type so it applies to all. … Read more

How to solve react dom ‘removeChild’ on Node error while google translate extension is on and selecting any core block [closed]

This cannot be fixed from the WordPress side, it requires changes from the Google Translate team to work with WordPress’ block editor. Only Google can do that. If you need to translate the content of a post it can’t be done from inside the editor using a browser extension unless that browser extension was specifically … Read more