markdown-editor-ll
v0.0.9
Published
learn node.js
Downloads
4
Readme
start
yarn add @toast-ui/react-editor @toast-ui/editor-plugin-code-syntax-highlight @toast-ui/editor-plugin-color-syntax @toast-ui/editor-plugin-table-merged-cell @toast-ui/editor-plugin-chart @toast-ui/editor
参数配置
| 参数名 | 类型 | 值 | | | ------------ | ------------ | ------------ | ------------ | | theme | string | dark 黑色皮肤 | | | preview | boolean | | | | defaultValue | string | 默认文本 | | | onChange | function | 输入后回调文本内容 | | | placeholder | string | | | | focus | boolean | false | | | options | object | {imgServer:"图片上传的服务器地址"} | | | | | | | | | | | |
import MD from 'markdown-editor-ll'