Browse Source

Merge pull request #7204 in DESIGN/design from release/11.0 to feature/x

* commit '87655021f37d46722864d1458de8f2f27e50dac3':
  Revert "REPORT-64103 游标分页"
  REPORT-64103 游标分页
  修改富文本字体限制
  无jira任务 单元测试打包
  CHART-22075 富文本支持9~11号字体
feature/x
superman 3 years ago
parent
commit
3462aca957
  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 src="script/editor.service.js"></script>
<script> <script>
window.onload = function () { 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 content = Pool.data.getContent();
var isAuto = Pool.data.isAuto(); var isAuto = Pool.data.isAuto();
var params = Pool.data.getParams(); var params = Pool.data.getParams();

Loading…
Cancel
Save