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

3.7.11 • Public • Published

canvas-editor

基于原生canvas,自定义封装editor。有着超强的可扩展性,以数据为原型驱动的编辑器

npm i canvas-editor --save
<div class="canvas-editor"></div>
import Editor from "canvas-editor"

new Editor(document.querySelector(".canvas-editor"), [
  {
    value: "Hello World"
  }
])

功能

1.自定义分页
2.自定义页眉、页脚
3.自定义鼠标右键
4.自定义水印
5.拖拽等功能
6.导出为pdf
....

Dependents (0)

Package Sidebar

Install

npm i cyp-editor

Weekly Downloads

117

Version

3.7.11

License

MIT

Unpacked Size

12.3 MB

Total Files

147

Last publish

Collaborators

  • me2