challenge新建去掉md加载
This commit is contained in:
parent
236709c346
commit
c9c578cc54
|
@ -55,10 +55,7 @@
|
|||
</li>
|
||||
<li class="clearfix">
|
||||
<label class="panel-form-label fl">预备知识:</label>
|
||||
<div id="challenge_ready_konewlege">
|
||||
<textarea name="challenge[ready_knowledge]" placeholder = "请输入完成当前任务依赖的知识点或者其它相关信息,指导学员完成任务"></textarea>
|
||||
</div>
|
||||
<%#= f.kindeditor :ready_knowledge, :placeholder => "请输入完成当前任务依赖的知识点或者其它相关信息,指导学员完成任务", :width=>'87.5%', :height => 159, :resizeType => 0, :no_label => true %>
|
||||
<%= f.kindeditor :ready_knowledge, :placeholder => "请输入完成当前任务依赖的知识点或者其它相关信息,指导学员完成任务", :width=>'87.5%', :height => 159, :resizeType => 0, :no_label => true %>
|
||||
</li>
|
||||
<li class="clearfix">
|
||||
<label class="panel-form-label fl"><span class="c_red mr5">*</span>过关任务:</label>
|
||||
|
|
|
@ -2,31 +2,6 @@
|
|||
<%= stylesheet_link_tag "/assets/codemirror/codemirror" %>
|
||||
<%= stylesheet_link_tag "/assets/kindeditor/plugins/code/previewcode" %>
|
||||
|
||||
<script src="lib/marked.min.js"></script>
|
||||
<script src="lib/prettify.min.js"></script>
|
||||
<script src="lib/raphael.min.js"></script>
|
||||
<script src="lib/underscore.min.js"></script>
|
||||
<script src="lib/sequence-diagram.min.js"></script>
|
||||
<script src="lib/flowchart.min.js"></script>
|
||||
<script src="lib/jquery.flowchart.min.js"></script>
|
||||
<script src="editormd.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
var wordsView;
|
||||
wordsView = editormd.markdownToHTML("wordsView", {
|
||||
htmlDecode : "style,script,iframe", // you can filter tags decode
|
||||
emoji : true,
|
||||
taskList : true,
|
||||
tex : true, // 默认不解析
|
||||
flowChart : true, // 默认不解析
|
||||
sequenceDiagram : true, // 默认不解析
|
||||
});
|
||||
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<div class="task-pm-content mb20">
|
||||
<div class="task-pm-box mt20">
|
||||
<div class="panel-header clearfix">
|
||||
|
|
Loading…
Reference in New Issue