Title: Sketch Block
Author: Automattic
Published: <strong>2021 年 7 月 1 日</strong>
Last modified: 2023 年 3 月 4 日

---

搜索插件

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

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

![](https://ps.w.org/sketch/assets/icon.svg?rev=2557027)

# Sketch Block

 作者：[Automattic](https://profiles.wordpress.org/automattic/)

[下载](https://downloads.wordpress.org/plugin/sketch.1.3.0.zip)

 * [详情](https://cn.wordpress.org/plugins/sketch/#description)
 * [评价](https://cn.wordpress.org/plugins/sketch/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/sketch/#developers)

 [支持](https://wordpress.org/support/plugin/sketch/)

## 描述

Sketch and draw freely on a canvas with brush strokes that feel natural. Pick among
three different brush sizes and the color palette of the site. The block has a transparent
background so it can be layered on top of any container block, like groups or background
images to achieve different effects.

### Credits

The block is powered by the awesome [perfect-freehand](https://www.npmjs.com/package/perfect-freehand)
library.

### Source and Support

You can follow development, file an issue, suggest features, and view the source
at the Github repo: [https://github.com/Automattic/block-experiments](https://github.com/Automattic/block-experiments)

## 屏幕截图

 * [[
 * Sketch Block by Automattic.
 * [[
 * Draw and write freely on a canvas.

## 区块

该插件提供了 1 个区块.

 *   Sketch Draw and write freely on a canvas. The block offers color selection,
   different brush sizes, and with its transparent background can be layered on 
   top of any container block, like groups or covers.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ Matias Ventura ](https://profiles.wordpress.org/matveb/)
 *   [ Osk ](https://profiles.wordpress.org/oskosk/)
 *   [ Pablo Honey ](https://profiles.wordpress.org/pablohoneyhoney/)

「Sketch Block」插件已被翻译至 6 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/sketch/contributors)
为本插件所做的贡献。

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.3.0 – 3nd March 2023

 * Added default and custom color palettes to Color control.
 * Fixed selected color marked in the Color control

#### 1.2.0 – 2nd March 2023

 * Updated the Clear control to not reset the height of the sketch.
 * Removed minimum height restriction for resizer.
 * Fixed full width block alignment support.
 * Updated Upload control label to “Upload as image”.
 * Updated alternative text control copy.
 * Updated dependency on perfect-freehand to its version 1.2.0.

#### 1.1.0 – 2nd October 2022

 * Updated to reflect compatibility with WordPess 6.0.
 * Added toolbar control for uploading an image to the media library generated from
   the sketch drawing.

#### 1.0.10 – 14th July 2021

 * Prevent default pointer behavior on move, which could cause unintended window
   scrolling with some devices and browsers.

#### 1.0.9 – 8th July 2021

 * Improved accessibility by using title and role on the SVG element

#### 1.0.8 – 2nd July 2021

 * Address crashing issues when the underlying library detects duplicate strokes

#### 1.0.7 – 1st July 2021

 * Add example for the block inserter preview
 * Categorize the block under widgets

#### 1.0.6 – 1st July 2021

 * Improve compatibility with block directory

#### 1.0.0 – 1st July 2021

 * Initial release

## 额外信息

 *  版本 **1.3.0**
 *  最后更新：**3 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 5.9 或更高版本 **
 *  已测试的最高版本为 **6.1.10**
 *  语言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/sketch/) 、 [Dutch](https://nl.wordpress.org/plugins/sketch/)、
   [English (South Africa)](https://en-za.wordpress.org/plugins/sketch/) 、 [English (US)](https://wordpress.org/plugins/sketch/)、
   [Portuguese (Portugal)](https://pt.wordpress.org/plugins/sketch/) 、 [Spanish (Chile)](https://cl.wordpress.org/plugins/sketch/)
   和 [Spanish (Spain)](https://es.wordpress.org/plugins/sketch/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/sketch)
 * 标签
 * [block](https://cn.wordpress.org/plugins/tags/block/)[blocks](https://cn.wordpress.org/plugins/tags/blocks/)
   [drawing](https://cn.wordpress.org/plugins/tags/drawing/)[sketch](https://cn.wordpress.org/plugins/tags/sketch/)
 *  [高级视图](https://cn.wordpress.org/plugins/sketch/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ Matias Ventura ](https://profiles.wordpress.org/matveb/)
 *   [ Osk ](https://profiles.wordpress.org/oskosk/)
 *   [ Pablo Honey ](https://profiles.wordpress.org/pablohoneyhoney/)

## 支持

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

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