0

I use a default custom image block in all my articles in 3 blogs, aligned left, link to media file.

In Gutenberg every time I upload/insert a new image I have to reconfigure those settings.

Seems stupid but it's frustrating if you only use 2-3 kind of blocks repeatedly, a long waste of time.

Is there some way to define "default settings" for some block, especially paragraph and image?

1
  • Is this a custom block you have written? Or are you talking about block templates? Or block patterns? Keep in mind this is a programming stack, any answer you get will need basic programming knowledge to understand, if that's not what you expected then you should ask on the .org support forum. If you have code can you share it? Use the edit link under the tag list to add it to your question
    – Tom J Nowell
    Dec 16, 2020 at 9:46

1 Answer 1

0

As Tom mentioned, you can use Templates, which allows you to define a preset of blocks that are available by default in your post whenever you try to create a new post: https://developer.wordpress.org/block-editor/developers/block-api/block-templates/

If you aren't ready to get your hands dirty with code, you can also use Justin Tadlock's Block Pattern Builder plugin to create and re-use block patterns across your site: http://wordpress.org/plugins/block-pattern-builder

Hope it helps!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.