hinesboy / mavonEditor

mavonEditor - A markdown editor based on Vue that supports a variety of personalized features
http://www.mavoneditor.com/
MIT License
6.45k stars 918 forks source link

When user set externalLink attribute,cause style error of code tag #663

Closed 51170526 closed 2 years ago

51170526 commented 3 years ago

When user set externalLink attribute,cause style error of code tag, because link tag of github-mardown-css have not id attribute

<mavon-editor ... :externalLink="externalLink"/>
export default {
  data: function () {
    return {
      externalLink: {
        hljs_css: function(css) {
          return 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/' + css + '.min.css';
        },
      }
    }
  },
...
}
ygj6 commented 2 years ago

Thank you for the PR, but too much time has passed and the problem no longer exists, so if you have anything to add, you can reopen it.


感谢你的PR,但时间过去太久了,问题已经不存在,如果你有什么补充,可以重新开启。