提交 b6425af8 编写于 作者: C Catouse

* fix placeholder plugin of kindeditor not work as expected.

上级 68da58ab
......@@ -26,7 +26,7 @@ KindEditor.EditorClass.prototype.setPlaceholder = function(placeholder, asHtml)
};
KindEditor.EditorClass.prototype.getPlaceholder = function(asHtml) {
return self.$placeholder && self.$placeholder[asHtml ? 'html' : 'text']();
return this.$placeholder ? this.$placeholder[asHtml ? 'html' : 'text']() : '';
};
KindEditor.plugin('placeholder', function(K) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册