windy 4 years ago
parent
commit
749e1029d5
  1. 2
      src/base/single/editor/editor.textarea.js
  2. 1
      src/less/core/utils/common.less

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

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

1
src/less/core/utils/common.less

@ -427,6 +427,7 @@ textarea {
.bi-water-mark {
color: @font-color-tips;
cursor: text;
.user-select-disable();
& .bi-input {
color: @font-color-tips;
}

Loading…
Cancel
Save