Browse Source

KERNEL-6382 显示值的左边距与输入左边距统一 && 文本域水印可选中问题

master
windy 4 years ago
parent
commit
7ce9234ffb
  1. 1
      changelog.md
  2. 2
      src/base/single/editor/editor.textarea.js
  3. 2
      src/case/editor/editor.shelter.js
  4. 2
      src/case/editor/editor.sign.js
  5. 2
      src/case/editor/editor.state.js
  6. 2
      src/case/editor/editor.state.simple.js

1
changelog.md

@ -1,5 +1,6 @@
# 更新日志 # 更新日志
2.0(2020-12) 2.0(2020-12)
- [视觉]editor水印间距统一与文本域水印不可选中
- 修复bi.file的url参数拼接问题 - 修复bi.file的url参数拼接问题
- 修复了colorChooser选择透明后, 打开更多选色面板, 直接点保存会选中自动的问题 - 修复了colorChooser选择透明后, 打开更多选色面板, 直接点保存会选中自动的问题
- bi.file支持限制上传文件数 - bi.file支持限制上传文件数

2
src/base/single/editor/editor.textarea.js

@ -84,7 +84,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
if (!this.watermark) { if (!this.watermark) {
this.watermark = BI.createWidget({ this.watermark = BI.createWidget({
type: "bi.text_button", type: "bi.text_button",
cls: "bi-water-mark cursor-default textarea-watermark", cls: "bi-water-mark cursor-default textarea-watermark bi-user-select-disable",
textAlign: "left", textAlign: "left",
whiteSpace: "normal", whiteSpace: "normal",
text: o.watermark, text: o.watermark,

2
src/case/editor/editor.shelter.js

@ -52,7 +52,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
tipType: o.tipType, tipType: o.tipType,
textAlign: o.textAlign, textAlign: o.textAlign,
height: o.height, height: o.height,
hgap: o.hgap hgap: o.hgap + 2
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",

2
src/case/editor/editor.sign.js

@ -52,7 +52,7 @@ BI.SignEditor = BI.inherit(BI.Widget, {
tipType: o.tipType, tipType: o.tipType,
textAlign: o.textAlign, textAlign: o.textAlign,
height: o.height, height: o.height,
hgap: o.hgap, hgap: o.hgap + 2,
handler: function () { handler: function () {
self._showInput(); self._showInput();
self.editor.focus(); self.editor.focus();

2
src/case/editor/editor.state.js

@ -51,7 +51,7 @@ BI.StateEditor = BI.inherit(BI.Widget, {
textAlign: "left", textAlign: "left",
height: o.height, height: o.height,
text: o.text, text: o.text,
hgap: o.hgap, hgap: o.hgap + 2,
handler: function () { handler: function () {
self._showInput(); self._showInput();
self.editor.focus(); self.editor.focus();

2
src/case/editor/editor.state.simple.js

@ -51,7 +51,7 @@ BI.SimpleStateEditor = BI.inherit(BI.Widget, {
textAlign: "left", textAlign: "left",
text: o.text, text: o.text,
height: o.height, height: o.height,
hgap: o.hgap, hgap: o.hgap + 2,
handler: function () { handler: function () {
self._showInput(); self._showInput();
self.editor.focus(); self.editor.focus();

Loading…
Cancel
Save