Browse Source

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

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '220da4adb3131fb1c84fef090b189c26d04b3477':
  DEC-16252 fix : bi.editor水印的间距与sign_editor,shilter_editro 等其他editor的text一致
  DEC-16252 fix : bi.editor水印的间距与sign_editor,shilter_editro 等其他editor的text一致
  DEC-16252 fix : bi.editor水印的间距与sign_editor,shilter_editro 等其他editor的text一致
es6
parent
commit
f9dabda965
  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: 2,
whiteSpace: "nowrap",
textAlign: "left"
});
@ -251,8 +252,8 @@ BI.Editor = BI.inherit(BI.Single, {
element: this.contentWrapper,
items: [{
el: this.watermark,
left: 3,
right: 3,
left: 0,
right: 0,
top: 0,
bottom: 0,
}],

Loading…
Cancel
Save