Description
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
Screenshots
Blocks
This plugin provides 1 block.
- 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.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Sketch Block” is open source software. The following people have contributed to this plugin.
Contributors“Sketch Block” has been translated into 5 locales. Thank you to the translators for their contributions.
Translate “Sketch Block” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
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