瀏覽代碼

修复富文本空格和缩进保存后不生效问题

RuoYi 4 年之前
父節點
當前提交
7c39f92538
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ruoyi-ui/src/components/Editor/index.vue

+ 1 - 0
ruoyi-ui/src/components/Editor/index.vue

@@ -146,6 +146,7 @@ export default {
 
 <style>
 .editor {
+  white-space: pre-wrap!important;
   line-height: normal !important;
   height: 192px;
 }