• Stars
    star
    3,425
  • Rank 12,981 (Top 0.3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 3 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

rich text editor by canvas/svg

canvas-editor

a rich text editor by canvas/svg

tips

  1. docs
  2. canvas-editor-plugin
  3. The render layer by svg is under development, see feature/svg
  4. 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"), [
    {
      value: "Hello World"
    }
  ])

next features

  1. improve performance
  2. control rules
  3. table paging
  4. CRDT

snapshot

image

install

yarn

dev

npm run dev

build

app

npm run build

lib

npm run lib