@ -44,9 +44,16 @@ var enableAt = function(_editor) {
console.log(_editor.options);
var input = $(ifrBody);
_editor.options.enable_at = function(){
_editor.options.enable_at = (function(){
var first = true;
return function(){
if(first){
input.atwho(at_config);
first = false;
}
})();
//$(ifrBody).atwho(at_config);
@ -4730,7 +4730,6 @@ function _bindTabEvent() {
function _bindFocusEvent() {
var self = this;
K(self.edit.textarea[0], self.edit.win).focus(function(e) {
if(typeof self.options.enable_at === 'function'){
self.options.enable_at();