a rich text editor by canvas/svg
- docs
- The render layer by svg is under development, see feature/svg
- The export pdf feature is available now, see feature/pdf
npm i @hufe921/canvas-editor --save
<div class="canvas-editor"></div>
import Editor from "@hufe921/canvas-editor"
new Editor(document.querySelector(".canvas-editor"), [
{
value: "Hello World"
}
])
- support mac os
- drag text (optimization)
- page header and footer
- control rules
- table paging
yarn
yarn run dev
yarn run build
yarn run lib