Browse Source

编辑器排序修改

zhangli 2 years ago
parent
commit
58f03675ae

+ 6 - 0
src/assets/css/commons.css

@@ -1221,4 +1221,10 @@ body .rx-button-edit {
 
 .rx-span-loading {
   color: rgba(0,0,0,.5)!important;
+}
+.editorBox .w-e-text ul li{
+  list-style: disc;
+}
+.editorBox .w-e-text ol li{
+  list-style: decimal;
 }

+ 1 - 1
src/views/modules/knowledge/news/newsAddEdit.vue

@@ -37,7 +37,7 @@
                   </a-form-model-item>
                   <div>编辑正文</div>
                   <a-form-model-item prop="content">
-                    <editor :value.sync="newsForm.content"></editor>
+                    <editor class="editorBox" :value.sync="newsForm.content"></editor>
                   </a-form-model-item>
                 </a-col>
                 <a-col :span="6" :push="2">

+ 1 - 1
src/views/modules/knowledge/warehouse/knowledgeAddUpdate.vue

@@ -34,7 +34,7 @@
               </a-form-model-item>
               <!-- 知识管理与审核管理查看时 为true-->
               <a-form-model-item label="编辑正文:" prop="content">
-                <editor :disabled="!!$route.query.show" :value.sync="knowledgeForm.content"></editor>
+                <editor class="editorBox" :disabled="!!$route.query.show" :value.sync="knowledgeForm.content"></editor>
               </a-form-model-item>
               <a-form-model-item label="上传附件:" prop="attachment" v-if="!knowledgeForm.attachment">
                 <span v-if="!!$route.query.show">未上传附件</span>