【问题标题】:EpicEditor: themes not foundEpicEditor:找不到主题
【发布时间】:2014-03-16 12:26:35
【问题描述】:

我有一个静态目录,其中包含 css/、js/、fonts/ 和 images/ 的子​​目录。下载 EpicEditor 后,我将 epiceditor.min.js 放在 js/ 目录下,并在我的 HTML 中有这一行:

<script type="text/javascript" src="/static/js/epiceditor.min.js"></script>

但这给出了一个错误:

GET http://0.0.0.0:6543/static/js/epiceditor.min.js/themes/base/epiceditor.css 404 (Not Found)

如果我改为为 EpicEditor 使用单独的目录:

<script type="text/javascript" src="/epiceditor/js/epiceditor.min.js"></script>

这是我得到的错误:

GET http://0.0.0.0:6543/epiceditor/js/epiceditor.min.js 404 (Not Found) 

如何更改 href 以指向正确的位置?或者,我应该将 EpicEditor 的各种文件放在哪里?

【问题讨论】:

    标签: javascript epiceditor


    【解决方案1】:

    我意识到我做错了:basePath 选项应该有一个指向 EpicEditor 主题的文件路径。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-01-08
      • 1970-01-01
      • 2020-11-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-12-23
      相关资源
      最近更新 更多