diff --git a/src/base/single/editor/editor.textarea.js b/src/base/single/editor/editor.textarea.js index 29ca9589f..4a8bd176b 100644 --- a/src/base/single/editor/editor.textarea.js +++ b/src/base/single/editor/editor.textarea.js @@ -87,7 +87,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, { if (!this.watermark) { this.watermark = BI.createWidget({ type: "bi.label", - cls: "bi-water-mark cursor-default textarea-watermark", + cls: "bi-water-mark cursor-text textarea-watermark", textAlign: "left", whiteSpace: "normal", text: o.watermark, @@ -99,9 +99,9 @@ BI.TextAreaEditor = BI.inherit(BI.Single, { this.watermark.element.bind({ mousedown: function (e) { if (self.isEnabled()) { - self.editor.focus(); + self.focus(); } else { - self.editor.blur(); + self.blur(); } e.stopEvent(); } diff --git a/src/less/core/utils/cursor.less b/src/less/core/utils/cursor.less index 696d08a56..7e7019f30 100644 --- a/src/less/core/utils/cursor.less +++ b/src/less/core/utils/cursor.less @@ -8,4 +8,9 @@ .cursor-move{ cursor: move; } + +.cursor-text{ + cursor: text; +} + /*****************cursor*****************/ \ No newline at end of file