Browse Source

CHART-16111 富文本字符样式切换时不保留content

feature/big-screen
Qinghui.Liu 4 years ago
parent
commit
e8ece2ca51
  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