From 749e1029d573821af23c6a7542fbb5bf0f33f2ec Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 7 Dec 2020 10:13:50 +0800 Subject: [PATCH] update --- src/base/single/editor/editor.textarea.js | 2 +- src/less/core/utils/common.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/base/single/editor/editor.textarea.js b/src/base/single/editor/editor.textarea.js index 47ee9e186..91274d7af 100644 --- a/src/base/single/editor/editor.textarea.js +++ b/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, diff --git a/src/less/core/utils/common.less b/src/less/core/utils/common.less index 35a3e9dda..794c66b78 100644 --- a/src/less/core/utils/common.less +++ b/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; }