Title: Gutenberg Tile Block
Author: David Sword
Published: <strong>2018 年 2 月 20 日</strong>
Last modified: 2018 年 12 月 9 日

---

搜索插件

![](https://ps.w.org/sword-layouts/assets/banner-772x250.png?rev=1825519)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/sword-layouts/assets/icon-256x256.png?rev=1825528)

# Gutenberg Tile Block

 作者：[David Sword](https://profiles.wordpress.org/davidsword/)

[下载](https://downloads.wordpress.org/plugin/sword-layouts.1.0.8.zip)

 * [详情](https://cn.wordpress.org/plugins/sword-layouts/#description)
 * [评价](https://cn.wordpress.org/plugins/sword-layouts/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/sword-layouts/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/sword-layouts/#developers)

 [支持](https://wordpress.org/support/plugin/sword-layouts/)

## 描述

Layout blocks for **[Gutenberg](https://wordpress.org/plugins/gutenberg/)** that
create more interesting and modern page designs.

 * Stagger small blurbs of text along side beautiful images
 * Creates a “magazine” style to your webpage
 * Fully responsive

#### Please Note

 * 🚀 This is a beta plugin – things will be rocky.
 * 🚧 This is a Work In Progress
 * ⚠️ Please [open a support request](https://wordpress.org/support/plugin/sword-layouts)
   [or add as an issue on Github](https://github.com/davidsword/sword-layouts/issues)
   before summiting a negative review, _I’m happy to help,_ please provide as much
   information as possible (screen recordings, WordPress and PHP versions, able-
   to-replicate instructions).
 * 👨🏻‍💻 Please visit [Github](https://github.com/davidsword/sword-layouts/) for
   development
 * 🤓 If you have any additional requests, please use [the Support tab](https://wordpress.org/support/plugin/sword-layouts).

#### Big shouts to

 * 🙏 [@ahmadawais](https://github.com/ahmadawais/create-guten-block) for the create-
   guten-block foundation
 * 🙏 [@zgordon](https://gutenberg.courses/development/) for the Gutenberg teaching

### TODO

 * [ ] Add FAQ about “Padding: Top Bottom”, as it only applies on mobile and when
   the text is greater than the images size squared.
 * [ ] Placeholder text for RichText not prominent enough
 * [ ] Add Contrast checker
 * [ ] Move InspectorControls to own component

## 屏幕截图

[⌊Tile - frontend⌉⌊Tile - frontend⌉[

Tile – frontend

[⌊Tile - within Gutenberg⌉⌊Tile - within Gutenberg⌉[

Tile – within Gutenberg

## 安装

 * from your Plugin browser on your site, or
    - download the plugin and extract the files and upload `sword-layouts` to your`/
      wp-content/plugins/` directory
    - Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

  Where can I find the block?

Within the Gutenberg editor, + Add Block > Layouts > Tile

  Why is there space between the blocks in the editor but not the front end?

Blocks need some padding in the editor for usability. The front end blocks will 
touch, creating the seamless Tile design.

  How do I get the image on the left, and the text on the right?

Select the block.

The right hand side of the editor should be the Settings pane. If it’s not present,
hit the cog (gear wheel) in the top right to toggle view.

There’s tabs for “Document” and “Block”, click the latter.

Turn “Invert Layout” on.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Gutenberg Tile Block」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ David Sword ](https://profiles.wordpress.org/davidsword/)

[帮助将「Gutenberg Tile Block」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/sword-layouts)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/sword-layouts/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/sword-layouts/)，或通过[RSS](https://plugins.trac.wordpress.org/log/sword-layouts/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/sword-layouts/)。

## 更新日志

#### 1.0.8

 * Dec 8, 2018
 * Compatibility for WP 5.0 (better late than never!)
 * README changes, added video
 * fixed Enqueue
 * remove use of npm `classnames`
 * `alignfull` now set with BlockAlignmentToolbar instead of being hardcoded
 * replaced ColorPalette and PanelColor with PanelColorSettings

#### 1.0.7

 * Sep 8, 2018
 * Fixed issue with obnoxious padding on Media Upload placeholder
 * Added blank index.php files in dirs for security

#### 1.0.6

 * Sep 8, 2018
 * Changed icon to a new custom one
 * Added spacing padding settings
 * fixed alignment of toolbar, above text regardless of invert
 * changed use of button to buttonIcon
 * changed custom upload button to Placeholder component
 * added text and background colors
 * added padding and width range controls
 * removed dashicons

#### 1.0.5

 * Aug 14, 2018
 * Updated for Gutenberg 3.5
 * Renamed plugin for easier search keywords

#### 1.0.4

 * Jul 2, 2018
 * updated code for Gutenberg 3.1.1
 * changed some wp.blocks.* to wp.editor.*

#### 1.0.3

 * May 18, 2018
 * code updates to work with Gutenberg 2.8.0
 * changed CSS from grid to flexbox
 * reduced screenshots

#### 1.0.2

 * Feb 20, 2018
 * minor fixes to CSS grid (for better browser support)
 * more readme changes

#### 1.0.1

 * Feb 19, 2018
 * readme fixes, minor changes to block name

#### 1.0.0

 * Feb 17, 2018
 * Initial release

## 额外信息

 *  版本 **1.0.8**
 *  最后更新：**8 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0.0 或更高版本 **
 *  已测试的最高版本为 **5.0.0**
 *  PHP 版本 ** 5.6.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/sword-layouts/)
 * 标签
 * [blocks](https://cn.wordpress.org/plugins/tags/blocks/)[gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)
   [layouts](https://cn.wordpress.org/plugins/tags/layouts/)[modern](https://cn.wordpress.org/plugins/tags/modern/)
   [page builder](https://cn.wordpress.org/plugins/tags/page-builder/)
 *  [高级视图](https://cn.wordpress.org/plugins/sword-layouts/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/sword-layouts/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/sword-layouts/reviews/)

## 贡献者

 *   [ David Sword ](https://profiles.wordpress.org/davidsword/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/sword-layouts/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://davidsword.ca/🍺/)