courseware
杨树明 5 years ago
parent 12757c31ef
commit 7789f2810f

@ -46,7 +46,7 @@ debugType="admin";
// 老师
// debugType="teacher";
// 学生
// debugType="student";
//debugType="student";

@ -89,11 +89,11 @@ class fillEmpty extends Component{
.emptyPanel div#content_editorMd_show{
width: 100%;
border-radius: 4px;
height: 35px;
// height: 35px;
margin-top:0px;
background-color:#fafafa;
color:#999;
line-height:25px;
// line-height:25px;
}
.answerStyle{
background:#f5f5f5;
@ -112,7 +112,15 @@ class fillEmpty extends Component{
<div className="flex1" style={{width:"0"}}>
{
user_exercise_status == 1 ?
<input value={item.value} className="input-100-35" style={{backgroundColor: "#F5F5F5",cursor:"default"}} placeholder={ isStudent && item.value ? `请输入填空${key+1}的答案` : "" } readOnly/>
// <input value={item.value} className="input-100-35" style={{backgroundColor: "#F5F5F5",cursor:"default"}} placeholder={ isStudent && item.value ? `请输入填空${key+1}的答案` : "" } readOnly/>
<div id="content_editorMd_show" className="new_li content_editorMd_show markdown-body"
// style={_style}
style={{backgroundColor: "#F5F5F5",cursor:"default"}}
dangerouslySetInnerHTML={{__html: markdownToHTML(item.value)}}
// onClick={this.toMDMode}
>
</div>
:
<DMDEditor
ref={`md${questionType.q_position}${key}`}

Loading…
Cancel
Save