diff --git a/CHANGES.md b/CHANGES.md index d82e7c0..625f504 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,8 +4,10 @@ - [新增]修改文档页面快捷键(Ctrl+S)保存; - [新增]文集大纲广告位4; +- [修复]Editor.md编辑器标题链接不显示的问题; - [优化]修改文档页面「查看文档」功能; + ### v0.6.9 2021-07-26 - [新增]后台管理中心的图片管理和附件管理功能; diff --git a/static/editor.md/editormd.js b/static/editor.md/editormd.js index 7b8e681..fd180e6 100644 --- a/static/editor.md/editormd.js +++ b/static/editor.md/editormd.js @@ -3873,7 +3873,7 @@ // headingHTML += ""; headingHTML += "]*>\s?/g,'') + "\" class=\"reference-link\">"; headingHTML += ""; - headingHTML += (hasLinkReg) ? this.atLink(this.mark(this.emoji(text))) : this.mark(this.emoji(text)); + headingHTML += (hasLinkReg) ? this.atLink(this.mark(this.emoji(linkText))) : this.mark(this.emoji(text)); headingHTML += ""; // console.log(headingHTML) return headingHTML;