dev_aliyun2
杨树林 5 years ago committed by harry
parent cb78004a01
commit 96397374ec

@ -412,10 +412,10 @@ class ChoquesEditor extends Component {
{
item === undefined || item === null || item === "" ?
<QuillForEditor
autoFocus={false}
imgAttrs={{ width: '146px', height: '136px' }}
style={{ height: '166px' }}
placeholder="请您输入题干"
autoFocus={false}
imgAttrs={{width: '146px', height: '136px'}}
style={{ height: '166px'}}
placeholder="请您输入选项"
options={options}
value={item}
onContentChange={(value, quill) => this.onOptionContentChange(value, quill, index)}
@ -423,9 +423,9 @@ class ChoquesEditor extends Component {
:
<QuillForEditor
autoFocus={false}
imgAttrs={{ width: '146px', height: '136px' }}
style={{ height: '166px' }}
placeholder="请您输入题干"
imgAttrs={{width: '146px', height: '136px'}}
style={{ height: '166px'}}
placeholder="请您输入选项"
options={options}
value={JSON.parse(item)}
onContentChange={(value, quill) => this.onOptionContentChange(value, quill, index)}

@ -452,9 +452,9 @@ class SingleEditor extends Component {
item === undefined || item === null || item === "" ?
<QuillForEditor
autoFocus={false}
imgAttrs={{ width: '146px', height: '136px' }}
style={{ height: '166px' }}
placeholder="请您输入题干"
imgAttrs={{width: '146px', height: '136px'}}
style={{ height: '166px'}}
placeholder="请您输入选项"
options={options}
value={item}
onContentChange={(value, quill) => this.onOptionContentChange(value, quill, index)}
@ -462,9 +462,9 @@ class SingleEditor extends Component {
:
<QuillForEditor
autoFocus={false}
imgAttrs={{ width: '146px', height: '136px' }}
style={{ height: '166px' }}
placeholder="请您输入题干"
imgAttrs={{width: '146px', height: '136px'}}
style={{ height: '166px'}}
placeholder="请您输入选项"
options={options}
value={JSON.parse(item)}
onContentChange={(value, quill) => this.onOptionContentChange(value, quill, index)}

Loading…
Cancel
Save