
Editor view — drawing area and color palette
Rakugaki Block is a block for gently adding hand-drawn, colored pencil-style doodles between paragraphs or at the end of blog posts.
The goal is not a full-featured drawing app. The concept is based on quick, impromptu scribbles that can be written in a few seconds.
The block uses the Pointer Events API, so pen pressure is reflected in line width and opacity when drawing with a compatible tablet.
The source files for this plugin are included in the src/ directory.
The build/ directory contains the compiled assets generated from those source files.
To rebuild the assets, run:
npm installnpm run build