<%= form_for(@library) do |f| %>
<%= hidden_field_tag :apply_publish, false %>
@@ -7,7 +7,7 @@
标题
- <%= f.text_field :title, placeholder: '例如:软件工程教学案例', class: 'greyInput winput-240-35 mr20 fl' %>
+ <%= f.text_field :title, placeholder: '例如:软件工程教学案例', class: 'greyInput winput-300-35 mr20 fl' %>
请输入标题
简明扼要介绍文档&视频所包含的主要的内容
@@ -78,7 +78,7 @@
autoFocus: false,
// 用于增加自定义工具栏的功能,可以直接插入HTML标签,不使用默认的元素创建图标
dialogMaskOpacity: 0.6,
- placeholder: "请输入参考答案",
+ placeholder: "请添加描述",
imageUpload: true,
imageFormats: ["jpg", "jpeg", "gif", "png", "bmp", "webp", "JPG", "JPEG", "GIF", "PNG", "BMP", "WEBP"],
imageUploadURL: "<%= upload_with_markdown_path(container_id: 0, container_type: 'MarkDown') %>" //url
diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js
index 0251d318..79eccf2b 100644
--- a/public/react/src/modules/tpm/NewHeader.js
+++ b/public/react/src/modules/tpm/NewHeader.js
@@ -294,6 +294,7 @@ class NewHeader extends Component {
diff --git a/public/stylesheets/educoder/edu-main.css b/public/stylesheets/educoder/edu-main.css
index fca9b02b..711a1f96 100644
--- a/public/stylesheets/educoder/edu-main.css
+++ b/public/stylesheets/educoder/edu-main.css
@@ -287,6 +287,7 @@ a.color-red-dd:hover{color: #C61616!important;}
.greyInput:focus{background-color: #fff;}
/*输入框样式---------宽度为固定长度*/
+.winput-300-35{width: 300px;height: 35px;padding: 5px;box-sizing: border-box;}
.winput-240-45{width: 240px;height: 45px;padding: 5px;box-sizing: border-box;}
.winput-240-40{width: 240px;height: 40px;padding: 5px;box-sizing: border-box;}
.winput-240-35{width: 240px;height: 35px;padding: 5px;box-sizing: border-box;}