react lz editor - xinqilela/- GitHub Wiki
props type default description
active bool false 是否在更改后重新加载内容 importContent string "" 编辑器内容值,默认为空字符串 lang string "" 编辑器使用的语言,默认为浏览器的语言设置 cbReceiver function null 回调函数,更改的值将被发送到其参数。 undoRedo bool true 启用撤消和重做功能,默认为true removeStyle bool true 启用删除样式功能,默认为true pasteNoStyle bool true 启用粘贴计划文本功能,默认为true blockStyle bool true 启用块样式(H1,ol,pre等)功能,默认为true alignment bool true 启用文本对齐功能,默认为true inlineStyle bool true 启用内联样式(粗体,斜体,下划线等)功能,默认为true color bool true 启用彩色文字功能,默认为true image bool true 启用插入图像功能,默认为true video bool true 启用插入视频功能,默认为true audio bool true 启用插入音频功能,默认为true urls bool true 启用添加超链接功能,默认为true autoSave bool true 启用自动保存到草稿箱功能,默认为true fullScreen bool true 启用全屏功能,默认为true convertFormat string "html" 设置支持格式(html,markdown,raw),默认为“html” uploadProps object null 自定义上传设置。 API: Antd.Upload