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

Sketch Block

描述

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

屏幕截图

  • 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” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Sketch Block」插件已被翻译至 5 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Sketch Block”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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