|
|
@ -78,7 +78,7 @@
|
|
|
|
placeholder: "请在此输入实训课程的简介",
|
|
|
|
placeholder: "请在此输入实训课程的简介",
|
|
|
|
imageUpload : true,
|
|
|
|
imageUpload : true,
|
|
|
|
imageFormats : ["jpg", "jpeg", "gif", "png", "bmp", "webp", "JPG", "JPEG", "GIF", "PNG", "BMP", "WEBP"],
|
|
|
|
imageFormats : ["jpg", "jpeg", "gif", "png", "bmp", "webp", "JPG", "JPEG", "GIF", "PNG", "BMP", "WEBP"],
|
|
|
|
imageUploadURL : "<%= upload_with_markdown_path(:container_id => @subject.id, :container_type => @subject.class) %>" //url
|
|
|
|
imageUploadURL : "<%= upload_with_markdown_path(:container_id => @subject.id, :container_type => 'MarkDown') %>" //url
|
|
|
|
});
|
|
|
|
});
|
|
|
|
md_elocalStorage(shixun_editormd, "subject_desc_<%= User.current.id %>", "desc");
|
|
|
|
md_elocalStorage(shixun_editormd, "subject_desc_<%= User.current.id %>", "desc");
|
|
|
|
/* --------------------------------- 学习须知 -------------------------------------- */
|
|
|
|
/* --------------------------------- 学习须知 -------------------------------------- */
|
|
|
|