How to change the Default Settings of Gutenberg Gallery Block
When creating a new Gallery Block, I want the default values to be Columns: 2
and Crop Images: false
How to change the Default Settings of Gutenberg Gallery Block
When creating a new Gallery Block, I want the default values to be Columns: 2
and Crop Images: false
- It is possible, see wordpress.stackexchange/a/375528/33900 (Javascript) and wordpress.stackexchange/a/426428/33900 (PHP) – cweiske Commented Aug 14, 2024 at 19:44
1 Answer
Reset to default 1I don't think this is possible in Gutenberg for the gallery block.
There still isn't a unified way to modify these types of settings for blocks either (the panel, typically on the right-side of a desktop screen, is collectively called the Inspector Controls)