From d0b315f4a594ab942084efd54aa84110c3870556 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期五, 07 八月 2020 16:03:45 +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.2