x-braft-editor

1.1.0 • Public • Published

编辑表格组件

const Demo = () => {
    return (
      <div>
        <XBraftEditor
          isView={isView}
          viewHtml="我是富文本编辑器"
          onChangeValue={value => window.console.log("value",value)}
        />
      </div>
    );
}

参数

XBraftEditor

基础参数

参数 说明 类型 默认值
isView 是编辑模式还是查看模式 Boolean false
viewHtml 文本内容 string -
onChangeValue 获取操作后的值 function(value): object[] -

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.00latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.00
1.0.00

Package Sidebar

Install

npm i x-braft-editor

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

2.06 kB

Total Files

2

Last publish

Collaborators

  • wangxiang970102