RuoYi
2020-10-03 ae4290bdda94767281c1aab0e4a6b5a24e9c89a4
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;
}