3.9K Star 18.4K Fork 5.3K

卓源软件 / JeeSite 4.x and 5.x

 / 详情

使用ueditor编辑器提示:ctxStatic is not defined

Done
Opened this issue  
2019-08-13 10:17

该问题是怎么引起的?

使用ueditor编辑器提示:ctxStatic is not defined

重现步骤

在页面上引用相关JS:

<script src="${ctxStatic}/ueditor/1.4/ueditor.config.js?${_version}"></script>
<script src="${ctxStatic}/ueditor/1.4/ueditor.all.js?${_version}"></script>
<script src="${ctxStatic}/ueditor/1.4/lang/${lang()}/${lang()}.js?${_version}"></script>

提示:

Uncaught ReferenceError: ctxStatic is not defined

ueditor.config.js文件中有个

var URL = ctxStatic + "/ueditor/1.4/";//window.UEDITOR_HOME_URL || getUEBasePath();

报错信息

ctxStatic is not defined

Comments (3)

fendo created任务
fendo changed description
Expand operation logs

咱们有这个的例子界面,可以参考一下

@bei3ke 看了。。示例中的一样报错。。。

<% layout(... libs: ['ueditor'] ...}){ %>

卓源软件 changed issue state from 待办的 to 已完成

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(3)
2339039 bei3ke 1578972268 958929 fendo 1578936778 6732 thinkgem 1651893329
Java
1
https://gitee.com/thinkgem/jeesite4.git
git@gitee.com:thinkgem/jeesite4.git
thinkgem
jeesite4
JeeSite 4.x and 5.x

Search