Browse Source

Pull request #7171: CHART-22075 富文本支持9~11号字体

Merge in DESIGN/design from ~QINGHUI.LIU/design:release/11.0 to release/11.0

* commit '3dd912b680f726540e9ea7ca8e7ce463c5c5496e':
  修改富文本字体限制
  CHART-22075 富文本支持9~11号字体
bugfix/11.0
Qinghui.Liu 3 years ago
parent
commit
6a46188353
  1. 27
      designer-chart/src/main/resources/com/fr/design/editor/rich_editor.html

27
designer-chart/src/main/resources/com/fr/design/editor/rich_editor.html

@ -20,6 +20,33 @@
<script src="script/editor.service.js"></script>
<script>
window.onload = function () {
BI.config("bi.constant.materials.rich_editor.font_size", function (items) {
return [
{
value: 9,
text: 9
},
{
value: 10,
text: 10
},
{
value: 11,
text: 11
},
].concat(items);
});
BI.config("bi.constant.materials.rich_editor.font_size_range", function (range) {
return {
MIN: 9,
MAX: 128
};
});
var content = Pool.data.getContent();
var isAuto = Pool.data.isAuto();
var params = Pool.data.getParams();

Loading…
Cancel
Save