Browse Source

CHART-22075 富文本支持9~11号字体

bugfix/11.0
Qinghui.Liu 3 years ago
parent
commit
6b51e7fcd0
  1. 19
      designer-chart/src/main/resources/com/fr/design/editor/rich_editor.html

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

@ -20,6 +20,25 @@
<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);
});
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