From 74f52677be7718d63eef89e01c367058a2e43e57 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期一, 10 八月 2020 10:12:39 +0800 Subject: [PATCH] 表格右侧工具栏组件 --- ruoyi-ui/src/components/Editor/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/components/Editor/index.vue b/ruoyi-ui/src/components/Editor/index.vue index 2002908..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,10 +145,11 @@ <style> .editor { + white-space: pre-wrap!important; line-height: normal !important; height: 192px; } -.el-upload { +.quill-img { display: none; } .ql-snow .ql-tooltip[data-mode="link"]::before { -- Gitblit v1.9.2