Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform-ui
Commits
588cc54c
Commit
588cc54c
authored
Aug 05, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
富文本域名
parent
12347279
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ueditor.config.js
static/utf8-jsp/ueditor.config.js
+4
-4
No files found.
static/utf8-jsp/ueditor.config.js
View file @
588cc54c
...
@@ -19,9 +19,9 @@
...
@@ -19,9 +19,9 @@
* 因此,UEditor提供了针对不同页面的编辑器可单独配置的根路径,具体来说,在需要实例化编辑器的页面最顶部写上如下代码即可。当然,需要令此处的URL等于对应的配置。
* 因此,UEditor提供了针对不同页面的编辑器可单独配置的根路径,具体来说,在需要实例化编辑器的页面最顶部写上如下代码即可。当然,需要令此处的URL等于对应的配置。
* window.UEDITOR_HOME_URL = "/xxxx/xxxx/";
* window.UEDITOR_HOME_URL = "/xxxx/xxxx/";
*/
*/
window
.
UEDITOR_HOME_URL
=
"/static/utf8-jsp/"
;
//
window.UEDITOR_HOME_URL = "/static/utf8-jsp/";
var
URL
=
window
.
UEDITOR_HOME_URL
||
getUEBasePath
();
var
URL
=
window
.
UEDITOR_HOME_URL
||
getUEBasePath
();
/**
/**
* 配置项主体。注意,此处所有涉及到路径的配置别遗漏URL变量。
* 配置项主体。注意,此处所有涉及到路径的配置别遗漏URL变量。
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
UEDITOR_HOME_URL
:
URL
UEDITOR_HOME_URL
:
URL
// 服务器统一请求接口路径
// 服务器统一请求接口路径
,
serverUrl
:
"https://xxtest.upyuns.com/
api/universal/file/app/unauth/ueditor"
,
serverUrl
:
URL
+
"
api/universal/file/app/unauth/ueditor"
//工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义
//工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义
,
toolbars
:
[[
,
toolbars
:
[[
...
@@ -430,7 +430,7 @@
...
@@ -430,7 +430,7 @@
video
:
[
'autoplay'
,
'controls'
,
'loop'
,
'preload'
,
'src'
,
'height'
,
'width'
,
'class'
,
'style'
]
video
:
[
'autoplay'
,
'controls'
,
'loop'
,
'preload'
,
'src'
,
'height'
,
'width'
,
'class'
,
'style'
]
}
}
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment