|
|
|
@ -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)}
|
|
|
|
|