浏览代码

BugFix: in richer editor @ autocomplete doesn't really insert the user name into comment properly

Sam X. Chen 5 年之前
父节点
当前提交
f29d7daa1d
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      client/components/main/editor.js

+ 0 - 2
client/components/main/editor.js

@@ -190,8 +190,6 @@ Template.editor.onRendered(() => {
                 if (!this.value) {
                 if (!this.value) {
                   const sn = getSummernote(this);
                   const sn = getSummernote(this);
                   sn && sn.summernote('code', '');
                   sn && sn.summernote('code', '');
-                  setAutocomplete(jEditor);
-                  //object && object.editingArea.find('.note-placeholder').show();
                 }
                 }
               });
               });
               const jEditor = object && object.editable;
               const jEditor = object && object.editable;