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

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

Loading…
Cancel
Save