# Gutenberg-Block: supports: multiple =\> false

**URL:** <https://forum.pinegrow.com/t/gutenberg-block-supports-multiple-false/6737>\
**Category:** Bug Reports\
**Created:** [July 31, 2022, 12:04pm UTC](https://forum.pinegrow.com/t/gutenberg-block-supports-multiple-false/6737 "2022-07-31T12:04:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wolfgang.Hartl](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/wolfgang.hartl/32/4621_2.png) [@Wolfgang.Hartl](https://forum.pinegrow.com/u/Wolfgang.Hartl)\
**Post date:** [July 31, 2022, 12:04pm UTC](https://forum.pinegrow.com/t/gutenberg-block-supports-multiple-false/6737/1 "2022-07-31T12:04:15Z")

</div>

Hey there,

just purchased Pinegrow yesterday and I’m happy to be part of the community here. I’ve played around with the Test-Version before and also read a lot of your docs and watched a few Videos before buying it!

I like the product so far. I have mainly bought it to create custom Gutenberg Blocks for my customers to come away from the old, clunky ACF/Metabox Interfaces and provide a bit more flexibility. I’ve decided to do my first Project, which is a Jobportal, in Pinegrow!

Since their sites are not created by me and they rely on an old theme (maybe I can update that one day too :-D) I’ve decided to go with a custom Plugin instead of a Theme. There’s also a lot of extra functionality inside of the Plugins which will integrate automatically the job-posting with google-jobs and such stuff.

I guess that’s enough Context: I’ve encountered a little Problem for which I’ve a small workaround but I would appreciate if it could be integrated in any future Update. Maybe there’s already such an option and I wasn’t able to find it. If that’s the case please apologize my post!

I have created a template which preloads all Gutenberg-Blocks into the page when a new job-posting is created. So the layout is kind of prefilled, they only have to adapt the placeholders then. Now i would like to restrict the main-content Container (which holds a lot of nested stuff in it) and a few other nested containers, which were necessary to create 3 or 4 deep-nests, to be only used once on a page.

I know that Gutenberg-Blocks have that feature. So if I set supports: multiple =\> false the block could then only appear once per site (see here: [Restrict Gutenberg Blocks to Single Use - Stack Overflow](https://stackoverflow.com/questions/56761962/restrict-gutenberg-blocks-to-single-use))

My workaround is to set the allowed parents to a random-number/chars. Which works, but if the client deletes the container by accident from that page he can’t bring it back.

 ![Bildschirmfoto 2022-07-31 um 14.02.31](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/3/340de0998f34eede65ae29a067fc87c7da8b634b.png)

Sorry for the long first post, hope you understand what exactly my Problem is. Otherwise please let me know and I try to explain it a bit further! 😉

Thanks in Advance for your Help!

Cheers  
Wolfgang

---

<div class="post-metadata">

**Author:** ![Pinegrow\_Learner](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@Pinegrow\_Learner](https://forum.pinegrow.com/u/Pinegrow_Learner)\
**Post date:** [August 27, 2022, 5:53am UTC](https://forum.pinegrow.com/t/gutenberg-block-supports-multiple-false/6737/2 "2022-08-27T05:53:01Z")

</div>

Did you solve this @Wolfgang.Hartl ?

---

<div class="post-metadata">

**Author:** ![Wolfgang.Hartl](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/wolfgang.hartl/32/4621_2.png) [@Wolfgang.Hartl](https://forum.pinegrow.com/u/Wolfgang.Hartl)\
**Post date:** [August 27, 2022, 8:41am UTC](https://forum.pinegrow.com/t/gutenberg-block-supports-multiple-false/6737/3 "2022-08-27T08:41:13Z")

</div>

Unfortunately not.

I’m still using my workaround which is about the “allowed block types”, but that is really only a workaround and doesn’t stop them to use a block more than once if they really want to.

So I hope that in any future version the `multiple` support Attribute will be added to Pinegrow, @matjaz (just tagging you in case you’ve overread that post, it’s nothing which should have a high priority in my opinion, but still a nice feature)! 😉

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [August 27, 2022, 4:58pm UTC](https://forum.pinegrow.com/t/gutenberg-block-supports-multiple-false/6737/4 "2022-08-27T16:58:09Z")

</div>

@Wolfgang.Hartl I started to work on that but then got distracted by your other requests 😉

It is on the to do for the next release.

---

<div class="post-metadata">

**Author:** ![Wolfgang.Hartl](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/wolfgang.hartl/32/4621_2.png) [@Wolfgang.Hartl](https://forum.pinegrow.com/u/Wolfgang.Hartl)\
**Post date:** [August 27, 2022, 5:25pm UTC](https://forum.pinegrow.com/t/gutenberg-block-supports-multiple-false/6737/5 "2022-08-27T17:25:18Z")

</div>

Hehe yeah a lot of input these days, and i hardly can’t believe that you already integrated that amount of requests (not only from me but also from the others) in that short period. So i have to speak out my compliments to the good work your doing!! I fell in love with Pinegrow and also with the way your treating customers, thanks for that! 😉 🎊👑🎉

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [November 18, 2022, 7:35pm UTC](https://forum.pinegrow.com/t/gutenberg-block-supports-multiple-false/6737/6 "2022-11-18T19:35:35Z")

</div>

Multiple=false was added. Out soon!

---

<div class="post-metadata">

**Author:** ![Wolfgang.Hartl](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/wolfgang.hartl/32/4621_2.png) [@Wolfgang.Hartl](https://forum.pinegrow.com/u/Wolfgang.Hartl)\
**Post date:** [November 18, 2022, 8:03pm UTC](https://forum.pinegrow.com/t/gutenberg-block-supports-multiple-false/6737/7 "2022-11-18T20:03:30Z")

</div>

Ooooooh that is fantastic, awesome!!! Thanks! Just in time … I am just about to create a block where i really need it, and I thought I’m gonna do a shortcode meanwhile, but now I can use the full power of the block! 🙂
