【问题标题】:How to include CodeMirror in Meteor's summernote?如何在 Meteor 的 Summernote 中包含 CodeMirror?
【发布时间】:2016-02-01 17:51:47
【问题描述】:

我在布局的头部包含了 CodeMirror 库,并使用 codemirror 选项初始化了 summernote,但 meteor summernote 仍然没有使用 CodeMirror。

【问题讨论】:

    标签: meteor codemirror summernote


    【解决方案1】:

    发现问题,codemirror 的库必须在 Summernote 的库之前加载。确保 Summernote 的依赖项在 Summernote 的依赖项之前加载。在 Meteor 中,我们必须更改包文件中包的顺序。将 Summernote 包放在 CodeMirror 包之后会有所帮助。

    【讨论】:

      猜你喜欢
      • 2015-05-10
      • 2017-05-08
      • 2018-07-04
      • 2019-02-24
      • 2016-08-11
      • 2016-11-07
      • 1970-01-01
      • 2015-11-19
      • 1970-01-01
      相关资源
      最近更新 更多