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

---

Meklēt spraudņus

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

Šī spraudnis **nav atjaunināts vairāk kā divus gadus**. Varbūt, tas vairs netiek
uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress
versijām.

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

# Melonpan Block – Container

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

[Lejupielādēt](https://downloads.wordpress.org/plugin/melonpan-block-container.1.3.1.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/melonpan-block-container/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/melonpan-block-container/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/melonpan-block-container/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/melonpan-block-container/#developers)

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

## Apraksts

[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).

## Ekrānuzņēmumi

 * [[
 * Block edit panel
 * [[
 * Block options

## Uzstādīšana

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.

## Atsauksmes

![](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 marts, 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 februāris, 2020 1 atbilde

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 decembris, 2019 1 atbilde

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 septembris,
2019 1 atbilde

![](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 aprīlis, 2019 1 atbilde

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 marts, 2019
1 atbilde

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

 [ Lasīt 6 atsauksmes ](https://wordpress.org/support/plugin/melonpan-block-container/reviews/)

## Autori un izstrādātāji

“Melonpan Block – Container” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši
šādi cilvēki.

Līdzdalībnieki

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

[Tulkot “Melonpan Block – Container&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/melonpan-block-container)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/melonpan-block-container/),
apmeklējiet[ SVN krātuvi ](https://plugins.svn.wordpress.org/melonpan-block-container/)
vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/melonpan-block-container/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/melonpan-block-container/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

#### 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.

## Meta

 *  Versija **1.3.1**
 *  Pēdējo reizi atjaunots: **pirms 5 gadiem**
 *  Aktīvās instalācijas: **100+**
 *  WordPress versija ** 5.2 vai jaunāka **
 *  Pārbaudīts līdz: **5.3.21**
 *  PHP versija ** 7.1 vai jaunāka **
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/melonpan-block-container/)
 * Birkas:
 * [blocks](https://lv.wordpress.org/plugins/tags/blocks/)[container](https://lv.wordpress.org/plugins/tags/container/)
   [editor](https://lv.wordpress.org/plugins/tags/editor/)[gutenberg](https://lv.wordpress.org/plugins/tags/gutenberg/)
   [innerblocks](https://lv.wordpress.org/plugins/tags/innerblocks/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/melonpan-block-container/advanced/)

## Vērtējumi

 5 no 5 zvaigznēm.

 *  [  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)

[Skatīt visas atsauksmes](https://wordpress.org/support/plugin/melonpan-block-container/reviews/)

## Līdzdalībnieki

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

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/melonpan-block-container/)