Browse Source

DEC-16252 fix : bi.editor水印的间距与sign_editor,shilter_editro 等其他editor的text一致

es6
zsmj1994 4 years ago
parent
commit
44137f7e9a
  1. 5
      src/base/single/editor/editor.js

5
src/base/single/editor/editor.js

@ -191,6 +191,7 @@ BI.Editor = BI.inherit(BI.Single, {
cls: "bi-water-mark",
text: this.options.watermark,
height: o.height - 2 * o.vgap - o.tgap,
hgap: o.hgap - 2,
whiteSpace: "nowrap",
textAlign: "left"
});
@ -251,8 +252,8 @@ BI.Editor = BI.inherit(BI.Single, {
element: this.contentWrapper,
items: [{
el: this.watermark,
left: this.options.hgap,
right: this.options.hgap,
left: 0,
right: 0,
top: 0,
bottom: 0,
}],

Loading…
Cancel
Save