Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 702 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 702 Bytes

Z-React-Markdown.md

Examples

http://editor.zhzhch.com

Download & install

use npm install

npm install z-react-markdown

Usages

es5

require('z-react-markdown/lib/style.css');
var Editor = require('z-react-markdown);

es6

import 'z-react-markdown/lib/style.css';
import Editor from 'z-react-markdown';

<Editor onChange={} width={} height={}/>

Apis

Property Type Description
onChange Function {mdStr: '', html: ''}
width String or Integer
height String or Integer