|  |  | @ -1,32 +1,10 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | import React, { Component } from 'react'; |  |  |  | import React, { Component } from 'react'; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | import { Link } from "react-router-dom"; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | import {Input, Select, Radio, Checkbox, Popconfirm, message, Modal} from 'antd'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | import {BrowserRouter as Router, Route, Link, Switch} from "react-router-dom"; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | // import "antd/dist/antd.css";
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | import { getImageUrl, getUploadActionUrl, getUrl } from 'educoder'; |  |  |  | import { getImageUrl, getUploadActionUrl, getUrl } from 'educoder'; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | import axios from 'axios'; |  |  |  | import axios from 'axios'; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | import '../css/TPMchallengesnew.css'; |  |  |  | import '../css/TPMchallengesnew.css'; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | let origin = getUrl(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | let path = getUrl("/editormd/lib/") |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | const $ = window.$; |  |  |  | const $ = window.$; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | let timeout; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | let currentValue; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | const Option = Select.Option; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | const RadioGroup = Radio.Group; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | // 恢复数据
 |  |  |  | // 恢复数据
 | 
			
		
	
		
		
			
				
					
					|  |  |  | function md_rec_data(k, mdu, id, editor) { |  |  |  | function md_rec_data(k, mdu, id, editor) { | 
			
		
	
		
		
			
				
					
					|  |  |  |     if (window.sessionStorage.getItem(k + mdu) !== null) { |  |  |  |     if (window.sessionStorage.getItem(k + mdu) !== null) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -89,7 +67,7 @@ function create_editorMD(id, width, high, placeholder, imageUrl, callback) { | 
			
		
	
		
		
			
				
					
					|  |  |  |     var editorName = window.editormd(id, { |  |  |  |     var editorName = window.editormd(id, { | 
			
		
	
		
		
			
				
					
					|  |  |  |         width: width, |  |  |  |         width: width, | 
			
		
	
		
		
			
				
					
					|  |  |  |         height: high, |  |  |  |         height: high, | 
			
		
	
		
		
			
				
					
					|  |  |  |         path: path,   // "/editormd/lib/"
 |  |  |  |         path: getUrl("/editormd/lib/"),   // 
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         syncScrolling: "single", |  |  |  |         syncScrolling: "single", | 
			
		
	
		
		
			
				
					
					|  |  |  |         tex: true, |  |  |  |         tex: true, | 
			
		
	
	
		
		
			
				
					|  |  | 
 |