Title: Melonpan Block &#8211; Container
Author: Alvaro
Published: <strong>7 janvier 2019</strong>
Last modified: 8 janvier 2021

---

Recherche d’extensions

![](https://ps.w.org/melonpan-block-container/assets/banner-772x250.png?rev=2007756)

Cette extension **n’a pas été testée avec les3 dernières versions majeures de WordPress**.
Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs 
de compatibilité quand elle est utilisée avec des versions récentes de WordPress.

![](https://ps.w.org/melonpan-block-container/assets/icon-256x256.png?rev=2007756)

# Melonpan Block – Container

 Par [Alvaro](https://profiles.wordpress.org/melonpan/)

[Télécharger](https://downloads.wordpress.org/plugin/melonpan-block-container.1.3.1.zip)

 * [Détails](https://fr-ca.wordpress.org/plugins/melonpan-block-container/#description)
 * [Avis](https://fr-ca.wordpress.org/plugins/melonpan-block-container/#reviews)
 *  [Installation](https://fr-ca.wordpress.org/plugins/melonpan-block-container/#installation)
 * [Développement](https://fr-ca.wordpress.org/plugins/melonpan-block-container/#developers)

 [Support](https://wordpress.org/support/plugin/melonpan-block-container/)

## Description

[Demo](https://gutenberg-showcase.melonpan.io/melonpan-block-container) – [Documentation](https://melonpan.io/gutenberg-blocks/melonpan-block-container)–
[GitHub](https://github.com/garciaalvaro/melonpan-block-container)

Block that provides a container, with styling features, which can have other blocks
nested.

### Features

The block comes with the following settings:

 * Background image, fixed, color & opacity
 * Content align, max-width, text color
 * Border width, color & opacity
 * Shadow width, color & opacity
 * Padding top, bottom, left, right, responsive paddings

### Plugin developers

The plugin comes with a filter to register your own block based on this one. Check
the [documentation](https://melonpan.io/gutenberg-blocks/melonpan-block-container/registering-a-custom-block)
to see how to use it.

### Usage

The block can be found inside the blocks inserter menu under the _Melonpan Blocks_
category.
 Once added in the post you can edit its settings and add blocks inside(
you may even add a container).

### Credits

Screenshot background image belongs to [Charles Postiaux](https://unsplash.com/@charlpost).

## Captures d’écran

[⌊Block edit panel⌉⌊Block edit panel⌉[

Block edit panel

[⌊Block options⌉⌊Block options⌉[

Block options

## Installation

Installation from the WordPress admin.

 1. Log in to the WordPress admin and navigate to _Plugins > Add New_.
 2. Type _Melonpan Block – Container_ in the Search field.
 3. In the results list _Melonpan Block – Container_ plugin should appear, click **
    Install Now** button.
 4. Once it finished installing, click the _Activate_ button.
 5. That’s it, now you can go to any post where Gutenberg is enabled and start using
    the block.

## Avis

![](https://secure.gravatar.com/avatar/1366e52dee7763628d88db0dc5cdec0c2974550e8c9f079bf573dc534ba21878?
s=60&d=retro&r=g)

### 󠀁[Simple and Effective](https://wordpress.org/support/topic/simple-and-effective-1102/)󠁿

 [ZoraMC](https://profiles.wordpress.org/zoramc/) 23 mars 2020

No nonsense product. Simple and highly usable. Loved it.

![](https://secure.gravatar.com/avatar/02fa60127fab90ac41e7a7338b89e9fc4c04625a92e4754922985a7495d3c153?
s=60&d=retro&r=g)

### 󠀁[Much better that Gutenberg group block](https://wordpress.org/support/topic/much-better-that-gutenberg-group-block/)󠁿

 [gsalmasi](https://profiles.wordpress.org/gsalmasi/) 1 février 2020 1 reply

Much better than Gutenberg group block. This one works as it should!

![](https://secure.gravatar.com/avatar/9024fa46b536b6d8fcf506918e51ca103d7e84bcd0f37483fdaf2422f6bbbaee?
s=60&d=retro&r=g)

### 󠀁[Great!](https://wordpress.org/support/topic/great-10570/)󠁿

 [jummi1](https://profiles.wordpress.org/jummi1/) 15 Décembre 2019 1 reply

This is a must!

![](https://secure.gravatar.com/avatar/a4a07fcabf6bfb157ef5f3a3d059f3a1f4da42405835624df4c50bdf5d597e4e?
s=60&d=retro&r=g)

### 󠀁[Great!](https://wordpress.org/support/topic/great-10135/)󠁿

 [arminehayrapetyan](https://profiles.wordpress.org/arminehayrapetyan/) 4 septembre
2019 1 reply

![](https://secure.gravatar.com/avatar/0f3f2fd3590259971722be0e940250ab733f942b97c393f1ce61ad60543dca1f?
s=60&d=retro&r=g)

### 󠀁[WOW! A working container block!](https://wordpress.org/support/topic/wow-a-working-container-block/)󠁿

 [whywaitwebs](https://profiles.wordpress.org/whywaitwebs/) 9 avril 2019 1 reply

I am super glad to have come across this. I have been searching far and wide for
the solution to what would seem a simple problem — how can I group a few elements
together? I mean, show me a website that doesn’t require this. I am not understanding
why it wasn’t included in Gutenberg to begin with, but I digress. There are a few
other Gutenberg Block plugins that claim to have container blocks, but with all 
the others I’ve tried, the container block is super laggy whenever you drag it around.
This plugin seems, at least from my experimentation so far, to have somehow avoided
that issue for the most part. Very nice. Besides that, this one is nice because 
it doesn’t come with a bunch of extra stuff I don’t want. Most block plugins load
a bunch of scripts and styles that I don’t need. I am a theme developer, so I’ve
been looking for something to just give me a way to structure the page and let me
handle the rest. Thank you very much for bringing this extremely useful plugin. 
Now I can actually make websites again.

![](https://secure.gravatar.com/avatar/7c9820521b974a7b84df970bda47055fcbd699a7d8e3e948fcc85f63006f0097?
s=60&d=retro&r=g)

### 󠀁[Seems usefull](https://wordpress.org/support/topic/seems-usefull/)󠁿

 [mariagarcia1992](https://profiles.wordpress.org/mariagarcia1992/) 26 mars 2019
1 reply

I tried many plugins, but Melonpan is Nice and clear blocks, without thousand of
useless options. Melonpan block work as describe, Great Work!

 [ Lire les 6 avis ](https://wordpress.org/support/plugin/melonpan-block-container/reviews/)

## Contributeurs & développeurs

« Melonpan Block – Container » est un logiciel libre. Les personnes suivantes ont
contribué à cette extension.

Contributeurs

 *   [ Alvaro ](https://profiles.wordpress.org/melonpan/)

[Traduisez « Melonpan Block – Container » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/melonpan-block-container)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/melonpan-block-container/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/melonpan-block-container/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/melonpan-block-container/)
par [RSS](https://plugins.trac.wordpress.org/log/melonpan-block-container/?limit=100&mode=stop_on_copy&format=rss).

## Historique des changements

#### 1.3.1

 * Upgraded dependencies.

#### 1.3.0

 * Refactored code base.
 * Minor bug fixes.

#### 1.2.0

 * Added ButtonBlockAppender in block InnerBlocks, for future WordPress version.
 * Fixed dependencies. Use wp-block-editor instead of wp-editor if its available.
 * Cleaned TypeScript types, code and tests.

#### 1.1.1

 * Fix bug for blocks created using the hook which had default colors assigned. 
   In the colorpicker clicking clear to assign no color, saved undefined which was
   interpreted by the save function (after page reload) as the default value, thus
   throwing an incompatibility error.

#### 1.1.0

 * Improved code: Updated JS, added tests and migrated JS to Typescript.

#### 1.0.1

 * Fix bug where the color was empty but the class .mbc-has-color was still assigned.

#### 1.0.0

 * Initial release.

## Méta

 *  Version **1.3.1**
 *  Last updated **il y a 6 années**
 *  Active installations **100+**
 *  WordPress version ** 5.2 ou plus **
 *  Tested up to **5.3.21**
 *  PHP version ** 7.1 ou plus **
 *  Language
 * [English (US)](https://wordpress.org/plugins/melonpan-block-container/)
 * Tags
 * [blocks](https://fr-ca.wordpress.org/plugins/tags/blocks/)[container](https://fr-ca.wordpress.org/plugins/tags/container/)
   [editor](https://fr-ca.wordpress.org/plugins/tags/editor/)[gutenberg](https://fr-ca.wordpress.org/plugins/tags/gutenberg/)
 *  [Vue avancée](https://fr-ca.wordpress.org/plugins/melonpan-block-container/advanced/)

## Notes

 5 out of 5 stars.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/melonpan-block-container/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/melonpan-block-container/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/melonpan-block-container/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/melonpan-block-container/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/melonpan-block-container/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/melonpan-block-container/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/melonpan-block-container/reviews/)

## Contributeurs

 *   [ Alvaro ](https://profiles.wordpress.org/melonpan/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/melonpan-block-container/)