react-minder-editor-y
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Kityminder for react

参考 react-neditor 实现,用法类似。

安装

tyarn add react-minder-editor

使用

meditor 拷贝到项目的静态资源目录 通过 域名/meditor 可访问。

import Meditor from 'react-minder-editor';
const minderRef = useRef<any>();

<Meditor meditorPath='/meditor' ref={minderRef} />

通过 minderRef.current.importJson 导入json格式数据

通过 minderRef.current.exportJson 导出json格式数据

通过 minderRef.current.minder 操作minder对象

Readme

Keywords

Package Sidebar

Install

npm i react-minder-editor-y

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

6.2 kB

Total Files

6

Last publish

Collaborators

  • ygang000