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

---

搜尋外掛

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

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Melonpan Block – Container

 由 [Alvaro](https://profiles.wordpress.org/melonpan/) 開發

[下載](https://downloads.wordpress.org/plugin/melonpan-block-container.1.3.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/melonpan-block-container/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/melonpan-block-container/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/melonpan-block-container/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/melonpan-block-container/#developers)

 [技術支援](https://wordpress.org/support/plugin/melonpan-block-container/)

## 外掛說明

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

## 螢幕擷圖

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

## 安裝方式

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.

## 使用者評論

![](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/) 2020 年 3 月 23 日

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/) 2020 年 2 月 1 日 1 則留言

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/) 2019 年 12 月 15 日 1 則留言

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/) 2019 年 
9 月 4 日 1 則留言

![](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/) 2019 年 4 月 9 日 1 
則留言

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/) 2019 年 3 月
26 日 1 則留言

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

 [ 閱讀全部 6 則使用者評論 ](https://wordpress.org/support/plugin/melonpan-block-container/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Melonpan Block – Container〉的開發相關工作。

參與者

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

[將〈Melonpan Block – Container〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/melonpan-block-container)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/melonpan-block-container/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/melonpan-block-container/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/melonpan-block-container/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/melonpan-block-container/)。

## 變更記錄

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

## 中繼資料

 *  版本 **1.3.1**
 *  最後更新 **5 年前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 5.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.3.21**
 *  PHP 版本需求 ** 7.1 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/melonpan-block-container/)
 * 標籤
 * [blocks](https://tw.wordpress.org/plugins/tags/blocks/)[container](https://tw.wordpress.org/plugins/tags/container/)
   [editor](https://tw.wordpress.org/plugins/tags/editor/)[gutenberg](https://tw.wordpress.org/plugins/tags/gutenberg/)
   [innerblocks](https://tw.wordpress.org/plugins/tags/innerblocks/)
 *  [進階檢視](https://tw.wordpress.org/plugins/melonpan-block-container/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  6 個 5 星使用者評論     ](https://wordpress.org/support/plugin/melonpan-block-container/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/melonpan-block-container/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/melonpan-block-container/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/melonpan-block-container/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/melonpan-block-container/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/melonpan-block-container/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/melonpan-block-container/)