|
|
@ -207,7 +207,6 @@ class SingleEditor extends Component{
|
|
|
|
}catch (e) {
|
|
|
|
}catch (e) {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
componentDidUpdate(prevProps) {
|
|
|
|
componentDidUpdate(prevProps) {
|
|
|
|
//console.log("componentDidUpdate");
|
|
|
|
//console.log("componentDidUpdate");
|
|
|
@ -363,6 +362,7 @@ class SingleEditor extends Component{
|
|
|
|
// ////console.log(!exerciseIsPublish);
|
|
|
|
// ////console.log(!exerciseIsPublish);
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
<div className="padding20-30 signleEditor danxuano" id={qNumber}>
|
|
|
|
<div className="padding20-30 signleEditor danxuano" id={qNumber}>
|
|
|
|
|
|
|
|
|
|
|
|
<style>{`
|
|
|
|
<style>{`
|
|
|
|
.optionMdEditor {
|
|
|
|
.optionMdEditor {
|
|
|
|
flex:1
|
|
|
|
flex:1
|
|
|
@ -421,7 +421,7 @@ class SingleEditor extends Component{
|
|
|
|
{
|
|
|
|
{
|
|
|
|
item===undefined||item===null||item===""?
|
|
|
|
item===undefined||item===null||item===""?
|
|
|
|
<QuillForEditor
|
|
|
|
<QuillForEditor
|
|
|
|
|
|
|
|
autoFocus={false}
|
|
|
|
imgAttrs={{width: '146px', height: '136px'}}
|
|
|
|
imgAttrs={{width: '146px', height: '136px'}}
|
|
|
|
style={{ height: '166px'}}
|
|
|
|
style={{ height: '166px'}}
|
|
|
|
placeholder="请您输入题干"
|
|
|
|
placeholder="请您输入题干"
|
|
|
@ -431,7 +431,7 @@ class SingleEditor extends Component{
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
:
|
|
|
|
:
|
|
|
|
<QuillForEditor
|
|
|
|
<QuillForEditor
|
|
|
|
|
|
|
|
autoFocus={false}
|
|
|
|
imgAttrs={{width: '146px', height: '136px'}}
|
|
|
|
imgAttrs={{width: '146px', height: '136px'}}
|
|
|
|
style={{ height: '166px'}}
|
|
|
|
style={{ height: '166px'}}
|
|
|
|
placeholder="请您输入题干"
|
|
|
|
placeholder="请您输入题干"
|
|
|
@ -472,7 +472,7 @@ class SingleEditor extends Component{
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<div className="mt10"></div>
|
|
|
|
<div className="mt10"></div>
|
|
|
|
<QuillForEditor
|
|
|
|
<QuillForEditor
|
|
|
|
|
|
|
|
autoFocus={false}
|
|
|
|
imgAttrs={{width: '146px', height: '136px'}}
|
|
|
|
imgAttrs={{width: '146px', height: '136px'}}
|
|
|
|
style={{height: '166px' }}
|
|
|
|
style={{height: '166px' }}
|
|
|
|
placeholder="请您输入题目解析"
|
|
|
|
placeholder="请您输入题目解析"
|
|
|
|