zhaodan-canvas-editor
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

/zhaodan-canvas-editor/

    Package Sidebar

    Install

    npm i zhaodan-canvas-editor

    Weekly Downloads

    2

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    1.59 MB

    Total Files

    161

    Last publish

    Collaborators

    • zhaodan1991