Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jfV5portal
Overview
Overview
Details
Activity
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
管理员
jfV5portal
Commits
32495378
Commit
32495378
authored
Sep 06, 2018
by
罗绍泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ueditor功能修复
parent
f3dd8b8d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
android-json-0.0.20131108.vaadin1.jar
WebContent/WEB-INF/lib/android-json-0.0.20131108.vaadin1.jar
+0
-0
com.baidu.ueditor-1.1.2-offical.jar
WebContent/WEB-INF/lib/com.baidu.ueditor-1.1.2-offical.jar
+0
-0
baiduediter.js
WebContent/jwapp/common/js/baiduediter.js
+11
-4
No files found.
WebContent/WEB-INF/lib/android-json-0.0.20131108.vaadin1.jar
0 → 100644
View file @
32495378
File added
WebContent/WEB-INF/lib/com.baidu.ueditor-1.1.2-offical.jar
0 → 100644
View file @
32495378
File added
WebContent/jwapp/common/js/baiduediter.js
View file @
32495378
/**
*
* contentid:需要初始化的容器id
* content:需要填充的数据
*/
function
getbaidu
(
contentid
){
UE
.
getEditor
(
contentid
).
destroy
(
);
function
getbaidu
(
contentid
,
content
){
UE
.
delEditor
(
contentid
);
var
ue
=
UE
.
getEditor
(
contentid
,{
//这里可以选择自己需要的工具按钮名称,此处仅选择如下五个
toolbars
:[
[
// 'fullscreen',
...
...
@@ -27,7 +28,13 @@ function getbaidu(contentid){
zIndex
:
9999
,
allowDivTransToP
:
false
,
//允许进入编辑器的div标签自动变成p标签
//更多其他参数,请参考ueditor.config.js中的配置项
serverUrl
:
'/jfV
4platform
/js/ueditor1_4_3/jsp/controller.jsp'
serverUrl
:
'/jfV
5portal
/js/ueditor1_4_3/jsp/controller.jsp'
});
if
(
content
!=
null
&&
""
!=
content
)
{
ue
.
ready
(
function
()
{
//设置编辑器的内容
ue
.
setContent
(
content
);
});
}
return
ue
;
}
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