Metrics
0
Watch 2.8K Star 6K Fork 2.9K

ThinkGem / JeeSite 4.xJavaAGPL-3.0

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

Closed
fendo  Created at

该问题是怎么引起的?

使用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
2339039_bei3ke 958929_fendo 6732_thinkgem total 3 participants

Comments (3)

2339039_bei3ke
bei3ke 2019-08-13 10:32

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

958929_fendo
fendo 2019-08-13 10:58

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

6732_thinkgem
ThinkGem 2019-08-17 20:14 owner

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

Sign in and comment

Assignee
Labels
Not set
Project
Milestone
Branch
Scheduled start
Not set
Scheduled end
Not set
Top level
Priority

Help Search