| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -267,7 +267,7 @@ class ChoquesEditor extends Component {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						}
 | 
					 | 
					 | 
					 | 
						}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						onContentChange=(value,quill)=>{
 | 
					 | 
					 | 
					 | 
						onContentChange=(value,quill)=>{
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							debugger
 | 
					 | 
					 | 
					 | 
							// debugger
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							const _text = quill.getText();
 | 
					 | 
					 | 
					 | 
							const _text = quill.getText();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							const reg = /^[\s\S]*.*[^\s][\s\S]*$/;
 | 
					 | 
					 | 
					 | 
							const reg = /^[\s\S]*.*[^\s][\s\S]*$/;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							if (!reg.test(_text)) {
 | 
					 | 
					 | 
					 | 
							if (!reg.test(_text)) {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -371,8 +371,11 @@ class ChoquesEditor extends Component {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							// //////console.log("xuanzheshijuan");
 | 
					 | 
					 | 
					 | 
							// //////console.log("xuanzheshijuan");
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							// //////console.log(answerTagArray);
 | 
					 | 
					 | 
					 | 
							// //////console.log(answerTagArray);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							// //////console.log(!exerciseIsPublish);
 | 
					 | 
					 | 
					 | 
							// //////console.log(!exerciseIsPublish);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
							const options=['code-block', 'image', 'formula',{size: ['14px', '16px', '18px', '20px']},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							return (
 | 
					 | 
					 | 
					 | 
								{ 'color': ['#333333','#e60000','#ff9900','#ffff00','#ffffff']},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
								{ 'font': ['Microsoft-YaHei','SimSun', 'SimHei','KaiTi','FangSong','Arial','Times-New-Roman','sans-serif']}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
							]
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
							return(
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
								<div className="padding20-30  signleEditor duoxuano" id={qNumber}>
 | 
					 | 
					 | 
					 | 
								<div className="padding20-30  signleEditor duoxuano" id={qNumber}>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
									<style>{`
 | 
					 | 
					 | 
					 | 
									<style>{`
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              .optionMdEditor {
 | 
					 | 
					 | 
					 | 
					              .optionMdEditor {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -392,6 +395,12 @@ class ChoquesEditor extends Component {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              #e_tips_mdEditor_question_undefined4{
 | 
					 | 
					 | 
					 | 
					              #e_tips_mdEditor_question_undefined4{
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					               display: none;
 | 
					 | 
					 | 
					 | 
					               display: none;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              }
 | 
					 | 
					 | 
					 | 
					              }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					               .signleEditor .quill_editor_for_react_area  .ql-toolbar .ql-formats .ql-size {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              line-height: 20px;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					               .signleEditor .quill_editor_for_react_area  .ql-toolbar .ql-formats .ql-font {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              line-height: 20px;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            `}</style>
 | 
					 | 
					 | 
					 | 
					            `}</style>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
									<p className="mb10 clearfix">
 | 
					 | 
					 | 
					 | 
									<p className="mb10 clearfix">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										{/* {!question_id ? '新建' : '编辑'} */}
 | 
					 | 
					 | 
					 | 
										{/* {!question_id ? '新建' : '编辑'} */}
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -404,7 +413,7 @@ class ChoquesEditor extends Component {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										imgAttrs={{ width: '146px', height: '136px' }}
 | 
					 | 
					 | 
					 | 
										imgAttrs={{ width: '146px', height: '136px' }}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										style={{ height: '155px' }}
 | 
					 | 
					 | 
					 | 
										style={{ height: '155px' }}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										placeholder="请您输入题干"
 | 
					 | 
					 | 
					 | 
										placeholder="请您输入题干"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										options={['code-block', 'image', 'formula']}
 | 
					 | 
					 | 
					 | 
										options={options}
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										value={question_title}
 | 
					 | 
					 | 
					 | 
										value={question_title}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										onContentChange={this.onContentChange}
 | 
					 | 
					 | 
					 | 
										onContentChange={this.onContentChange}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -438,7 +447,7 @@ class ChoquesEditor extends Component {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
															imgAttrs={{ width: '146px', height: '136px' }}
 | 
					 | 
					 | 
					 | 
															imgAttrs={{ width: '146px', height: '136px' }}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
															style={{ height: '166px' }}
 | 
					 | 
					 | 
					 | 
															style={{ height: '166px' }}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
															placeholder="请您输入题干"
 | 
					 | 
					 | 
					 | 
															placeholder="请您输入题干"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
															options={['code-block', 'image', 'formula']}
 | 
					 | 
					 | 
					 | 
															options={options}
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
															value={item}
 | 
					 | 
					 | 
					 | 
															value={item}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
															onContentChange={(value, quill) => this.onOptionContentChange(value, quill, index)}
 | 
					 | 
					 | 
					 | 
															onContentChange={(value, quill) => this.onOptionContentChange(value, quill, index)}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
														/>
 | 
					 | 
					 | 
					 | 
														/>
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -448,7 +457,7 @@ class ChoquesEditor extends Component {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
															imgAttrs={{ width: '146px', height: '136px' }}
 | 
					 | 
					 | 
					 | 
															imgAttrs={{ width: '146px', height: '136px' }}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
															style={{ height: '166px' }}
 | 
					 | 
					 | 
					 | 
															style={{ height: '166px' }}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
															placeholder="请您输入题干"
 | 
					 | 
					 | 
					 | 
															placeholder="请您输入题干"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
															options={['code-block', 'image', 'formula']}
 | 
					 | 
					 | 
					 | 
															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)}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
														/>
 | 
					 | 
					 | 
					 | 
														/>
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -487,7 +496,7 @@ class ChoquesEditor extends Component {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											imgAttrs={{ width: '146px', height: '136px' }}
 | 
					 | 
					 | 
					 | 
											imgAttrs={{ width: '146px', height: '136px' }}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											style={{ height: '166px' }}
 | 
					 | 
					 | 
					 | 
											style={{ height: '166px' }}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											placeholder="请您输入题目解析"
 | 
					 | 
					 | 
					 | 
											placeholder="请您输入题目解析"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											options={['code-block', 'image', 'formula']}
 | 
					 | 
					 | 
					 | 
											options={options}
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											value={question_titles}
 | 
					 | 
					 | 
					 | 
											value={question_titles}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											onContentChange={this.onContentChanges}
 | 
					 | 
					 | 
					 | 
											onContentChange={this.onContentChanges}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										/>
 | 
					 | 
					 | 
					 | 
										/>
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |