|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
<%= javascript_include_tag "/assets/kindeditor/kindeditor", '/assets/kindeditor/pasteimg', "init_activity_KindEditor" %>
|
|
|
|
|
<%= import_ke(enable_at: true, prettify: false, init_activity: true) %>
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
/*回复框*/
|
|
|
|
|
div.ke-toolbar{display:none;width:400px;border:none;background:none;padding:0px 0px;}
|
|
|
|
@ -32,7 +32,7 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$(function () {
|
|
|
|
|
init_activity_KindEditor_data(<%= activity.id%>, null, "87%");
|
|
|
|
|
init_activity_KindEditor_data(<%= activity.id%>, null, "87%", "<%= activity.class.to_s %>");
|
|
|
|
|
showNormalImage('activity_description_<%= activity.id %>');
|
|
|
|
|
if ($("#intro_content_<%= activity.id %>").height() > 360) {
|
|
|
|
|
$("#intro_content_show_<%= activity.id %>").show();
|
|
|
|
|