diff --git a/src/base/single/editor/editor.js b/src/base/single/editor/editor.js index 364044c1b..328adf71d 100644 --- a/src/base/single/editor/editor.js +++ b/src/base/single/editor/editor.js @@ -239,10 +239,11 @@ BI.Editor = BI.inherit(BI.Single, { return this.options.errorText; }, + setWatermark: function (v) { + this.setWaterMark(v); + }, + setWaterMark: function (v) { - if (!BI.isKey(v)) { - return; - } this.options.watermark = v;