canvas-editor
a rich text editor by canvas/svg
tips
- docs
- canvas-editor-plugin
- The render layer by svg is under development, see feature/svg
- The export pdf feature is available now, see feature/pdf
usage
npm i @hufe921/canvas-editor --save
<div class="canvas-editor"></div>
import Editor from '@hufe921/canvas-editor'
new Editor(document.querySelector('.canvas-editor'), {
main: [
{
value: 'Hello World'
}
]
})
next features
- table paging
- improve performance
- control rules
- CRDT
snapshot
install
yarn
dev
npm run dev
build
app
npm run build
lib
npm run lib