Commit 922f8a6f authored by 田翔's avatar 田翔

fix: 描述控件重新编辑报错问题

parent c3743d14
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "6.9.24", "version": "6.9.25",
"description": "6.9.24 描述控件重新编辑报错问题", "description": "6.9.25 描述控件重新编辑报错问题",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -83,7 +83,11 @@ const ContentHTML = (props) => { ...@@ -83,7 +83,11 @@ const ContentHTML = (props) => {
} }
}} }}
value={value} value={value}
onCreated={setEditor} onCreated={value => {
if (!editor) {
setEditor(value)
}
}}
// onChange={editorChange} // onChange={editorChange}
mode="default" mode="default"
style={{ minHeight: '400px', overflowY: 'hidden' }} style={{ minHeight: '400px', overflowY: 'hidden' }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment