🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

react-minder-editor

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-minder-editor

an minder component for react

latest
Source
npmnpm
Version
1.1.9
Version published
Weekly downloads
20
1900%
Maintainers
1
Weekly downloads
 
Created
Source

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对象

Keywords

meditor

FAQs

Package last updated on 28 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts