Whiteboard currently works only with PDF documents. See PDF setup first.
Quick start
To disable the whiteboard layer entirely, set
modules.whiteboard to false:Tools / modes
- select — default; select/drag/resize, drop stickers/text
- draw — draw strokes only
- erase — erases strokes only
- text — click to add text
API methods
All APIs are exposed viasuperdoc.whiteboard.
register
Register palette items (e.g. stickers, comments).
getType
Get registered items by type.
setTool
Set the current tool: select, draw, erase, text.

