跳到主要内容

eo-markdown-editor

<eo-markdown-editor>
Alias: <markdown.markdown-editor>

markdown 编辑器

Examples​

Basic​

Playground

Table​

Playground

CodeBlock​

Playground

Readonly​

Playground

With Form​

Playground

Properties​

NameDescriptionTypeDefaultRequired
name

字段名称

string
label

标签文字

string
required

是否必填

boolean
value

初始值

string
bucketName

对象存储桶名字,请在业务编排的时候与后台同学商量创建,一般一个业务需求对应一个存储桶名称。如不传则默认以base64格式转换图片

string
readonly

只读模式

boolean
containerStyle

外层容器样式

React.CSSProperties

Events​

NameDescriptionEvent Detail
image.upload

上传图片时触发的事件

ImageInfo
markdown.value.change

编辑markdown触发的变化事件

string

Type references​

ImageInfo​

NameDescriptionTypeDefaultRequired
namestring✅
srcstring✅