|
|
@ -120,8 +120,9 @@ BI.Editor = BI.inherit(BI.Single, { |
|
|
|
this.editor.on(BI.Input.EVENT_KEY_DOWN, function (v) { |
|
|
|
this.editor.on(BI.Input.EVENT_KEY_DOWN, function (v) { |
|
|
|
self.fireEvent(BI.Editor.EVENT_KEY_DOWN, arguments); |
|
|
|
self.fireEvent(BI.Editor.EVENT_KEY_DOWN, arguments); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.editor.on(BI.Input.EVENT_QUICK_DOWN, function (v) { |
|
|
|
this.editor.on(BI.Input.EVENT_QUICK_DOWN, function (e) { |
|
|
|
self.watermark && self.watermark.invisible(); |
|
|
|
// tab键就不要隐藏了
|
|
|
|
|
|
|
|
self.watermark && e.keyCode !== 9 && self.watermark.invisible(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
this.editor.on(BI.Input.EVENT_VALID, function () { |
|
|
|
this.editor.on(BI.Input.EVENT_VALID, function () { |
|
|
|