Browse Source

CHART-15990 富文本自动自定义切换时不改变content

feature/big-screen
Qinghui.Liu 4 years ago
parent
commit
b3f3324d10
  1. 2
      designer-chart/src/main/resources/com/fr/design/editor/script/editor.js

2
designer-chart/src/main/resources/com/fr/design/editor/script/editor.js

@ -232,7 +232,7 @@
content = this.editor.getValue(BI.NicEditor.FormatType.ESCAPE),
origin = content;
if (isAuto) {
content = this._switchToAutoStyle();
// content = this._switchToAutoStyle();
this.setFocus();
} else if (editorService.isRichTextEqual(content, this.options.placeholder)) {
content = "";

Loading…
Cancel
Save