From 6bd7e183f68a00c2c9aede8ff36cde1f04064b04 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Fri, 07 Aug 2020 16:39:14 +0800
Subject: [PATCH] 修复富文本空格和缩进保存后不生效问题&删除重复的placeholder

---
 ruoyi-ui/src/components/Editor/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/components/Editor/index.vue b/ruoyi-ui/src/components/Editor/index.vue
index 56151f4..7fadf6f 100644
--- a/ruoyi-ui/src/components/Editor/index.vue
+++ b/ruoyi-ui/src/components/Editor/index.vue
@@ -66,7 +66,6 @@
       content: this.value,
       uploadImgUrl: "",
       editorOption: {
-        placeholder: "",
         theme: "snow", // or 'bubble'
         placeholder: "请输入内容",
         modules: {
@@ -146,6 +145,7 @@
 
 <style>
 .editor {
+  white-space: pre-wrap!important;
   line-height: normal !important;
   height: 192px;
 }

--
Gitblit v1.9.3