ruoyi-ui/src/components/Editor/index.vue
@@ -71,9 +71,9 @@ value: { handler(val) { if (val !== this.currentValue) { this.currentValue = val; this.currentValue = val === null ? "" : val; if (this.Quill) { this.Quill.pasteHTML(this.value); this.Quill.pasteHTML(this.currentValue); } } }, @@ -114,7 +114,7 @@ </script> <style> .editor { .editor, .ql-toolbar { white-space: pre-wrap!important; line-height: normal !important; }