The documentation is not fully ready and to complete yet! It will be updated very soon. Thanks for your understanding.
So the idea is to make a simple tool to solve only very limited set of business needs. It doesn't have many options and configurations. And the API should be as small as possible.
So you can just add it into the page and you have a full featured solution.
Init demo application (without any frameworks):
Add styles to your page:
Polotno consists of three main modules
For saving and working with the objects tree of canvas editor. It provide API for adding/updating/removing canvas objects, undo/redo, selection changes, zooming.
Workarea React canvas component
React component for drawing canvas app on the page. It has all basic functionality for common edits: selection, resize, actual drawing of objects, snapping, etc.
Set of React components for general canvas editor app.
- a toolbar for basic objects manipulations actions (such as align, remove, change objects styles, etc).
- side panels for adding new objects