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
01262b7b
Commit
01262b7b
authored
Oct 14, 2020
by
rencs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
10.14
parent
cf196b7f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1714 additions
and
1531 deletions
+1714
-1531
Ueditor.vue
src/views/modal/Ueditor.vue
+0
-4
oneTourModal.vue
src/views/tourManage/modal/oneTourModal.vue
+168
-53
ueditor.css
static/utf8-jsp/themes/default/css/ueditor.css
+1076
-1013
ueditor.config.js
static/utf8-jsp/ueditor.config.js
+470
-461
No files found.
src/views/modal/Ueditor.vue
View file @
01262b7b
...
@@ -40,7 +40,3 @@ export default {
...
@@ -40,7 +40,3 @@ export default {
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.edui-default
{
z-index
:
0
;
}
</
style
>
>
\ No newline at end of file
src/views/tourManage/modal/oneTourModal.vue
View file @
01262b7b
<
template
>
<
template
>
<!-- 旅游:创建、编辑 -->
<!-- 旅游:创建、编辑 -->
<div>
<div>
<h4>
{{
title
}}
</h4>
<h4>
{{
title
}}
</h4>
<p
class=
"title_line_P"
>
基础信息
</p>
<p
class=
"title_line_P"
>
基础信息
</p>
<el-form
:model=
"form"
:rules=
"rules"
ref=
"form"
label-width=
"90px"
>
<el-form
:model=
"form"
:rules=
"rules"
ref=
"form"
label-width=
"90px"
>
<el-row>
<el-row>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"旅行名称"
prop=
"name"
>
<el-form-item
label=
"旅行名称"
prop=
"name"
>
<el-input
v-model=
"form.name"
placeholder=
"请输入旅行名称"
></el-input>
<el-input
v-model=
"form.name"
placeholder=
"请输入旅行名称"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"描述"
>
<el-form-item
label=
"描述"
>
<el-input
v-model=
"form.describe"
placeholder=
"请输入描述"
></el-input>
<el-input
v-model=
"form.describe"
placeholder=
"请输入描述"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"成人价"
prop=
"price"
>
<el-form-item
label=
"成人价"
prop=
"price"
>
<el-input
v-model=
"form.price"
type=
"number"
min=
"0"
placeholder=
"请输入成人价"
></el-input>
<el-input
v-model=
"form.price"
type=
"number"
min=
"0"
placeholder=
"请输入成人价"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"儿童价"
prop=
"childPrice"
>
<el-form-item
label=
"儿童价"
prop=
"childPrice"
>
<el-input
v-model=
"form.childPrice"
type=
"number"
min=
"0"
placeholder=
"请输入儿童价"
></el-input>
<el-input
v-model=
"form.childPrice"
type=
"number"
min=
"0"
placeholder=
"请输入儿童价"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"库存"
prop=
"stock"
>
<el-form-item
label=
"库存"
prop=
"stock"
>
<el-input
v-model=
"form.stock"
placeholder=
"请输入总人数"
type=
"number"
min=
"0"
></el-input>
<el-input
v-model=
"form.stock"
placeholder=
"请输入总人数"
type=
"number"
min=
"0"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<!--BASE_API + -->
<!--BASE_API + -->
<el-form-item
label=
"封面图"
:style=
"
{
display:'block'
}">
<el-form-item
label=
"封面图"
:style=
"
{
display: 'block'
}">
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
:action=
"BASE_API
+
'/api/universal/file/app/unauth/admin/upload'"
:action=
"BASE_API
+
'/api/universal/file/app/unauth/admin/upload'"
:show-file-list=
"false"
:show-file-list=
"false"
:on-success=
"handleAvatarSuccess"
:on-success=
"handleAvatarSuccess"
:on-progress=
"uploadProcess"
:on-progress=
"uploadProcess"
list-type=
"picture"
list-type=
"picture"
>
>
<div
slot=
"tip"
class=
"el-upload__tip"
>
<div
slot=
"tip"
class=
"el-upload__tip"
>
<span
style=
"color: red
;
"
>
建议尺寸:320*228px
</span>
<span
style=
"color: red"
>
建议尺寸:320*228px
</span>
</div>
</div>
<el-progress
<el-progress
v-show=
"imgFlag == true"
v-show=
"imgFlag == true"
...
@@ -57,24 +78,33 @@
...
@@ -57,24 +78,33 @@
style=
"margin-top: 20px"
style=
"margin-top: 20px"
></el-progress>
></el-progress>
<img
<img
v-if=
"$utils.isString(form.cover) && !$utils.isEmpty(form.cover) && !imgFlag"
v-if=
"
$utils.isString(form.cover) &&
!$utils.isEmpty(form.cover) &&
!imgFlag
"
:src=
"form.cover"
:src=
"form.cover"
style=
"width:
300px;max-height:300px;
"
style=
"width:
300px; max-height: 300px
"
/>
/>
<i
<i
v-else-if=
"!imgFlag"
v-else-if=
"!imgFlag"
class=
"el-icon-plus avatar-uploader-icon"
class=
"el-icon-plus avatar-uploader-icon"
style=
"lineHeight:100px;width:300px;height: 100px;border: 1px dashed #ccc;"
style=
"
lineheight: 100px;
width: 300px;
height: 100px;
border: 1px dashed #ccc;
"
></i>
></i>
</el-upload>
</el-upload>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row>
<el-row>
<el-form-item
label=
"轮播图"
:style=
"
{
display:'block'
}">
<el-form-item
label=
"轮播图"
:style=
"
{
display: 'block'
}">
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
:action=
"BASE_API
+
'/api/universal/file/app/unauth/admin/upload'"
:action=
"BASE_API
+
'/api/universal/file/app/unauth/admin/upload'"
:on-remove=
"handleRemove"
:on-remove=
"handleRemove"
:file-list=
"fileList2"
:file-list=
"fileList2"
:on-success=
"handleBannerSuccess"
:on-success=
"handleBannerSuccess"
...
@@ -82,23 +112,35 @@
...
@@ -82,23 +112,35 @@
>
>
<div
slot=
"tip"
class=
"el-upload__tip"
>
<div
slot=
"tip"
class=
"el-upload__tip"
>
最多上传5张
最多上传5张
<span
style=
"color: red
;
"
>
建议尺寸:1080*644px
</span>
<span
style=
"color: red"
>
建议尺寸:1080*644px
</span>
</div>
</div>
<el-button
v-if=
"fileList2.length
<5
"
size=
"small"
type=
"primary"
>
点击上传
</el-button>
<el-button
v-if=
"fileList2.length
<
5
"
size=
"small"
type=
"primary"
>
点击上传
</el-button
>
</el-upload>
</el-upload>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"浏览量"
>
<el-form-item
label=
"浏览量"
>
<el-input
v-model=
"form.viewCount"
placeholder=
"请输入浏览量"
type=
"number"
min=
"0"
></el-input>
<el-input
v-model=
"form.viewCount"
placeholder=
"请输入浏览量"
type=
"number"
min=
"0"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"排序"
>
<el-form-item
label=
"排序"
>
<el-input
v-model=
"form.rank"
placeholder=
"请输入排序值"
type=
"number"
min=
"0"
></el-input>
<el-input
v-model=
"form.rank"
placeholder=
"请输入排序值"
type=
"number"
min=
"0"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -112,7 +154,12 @@
...
@@ -112,7 +154,12 @@
<el-row>
<el-row>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"销量"
>
<el-form-item
label=
"销量"
>
<el-input
v-model=
"form.saleCount"
type=
"number"
min=
"0"
placeholder=
"请输入销量"
></el-input>
<el-input
v-model=
"form.saleCount"
type=
"number"
min=
"0"
placeholder=
"请输入销量"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -120,8 +167,14 @@
...
@@ -120,8 +167,14 @@
<span
<span
v-for=
"item in form.tagDTOS"
v-for=
"item in form.tagDTOS"
:key=
"item.id"
:key=
"item.id"
style=
"border: 1px solid #ccc; padding: 5px 10px;border-radius: 5px;margin-right: 10px;"
style=
"
>
{{
item
.
name
}}
</span>
border: 1px solid #ccc;
padding: 5px 10px;
border-radius: 5px;
margin-right: 10px;
"
>
{{
item
.
name
}}
</span
>
<!--
<el-checkbox-group
v-model=
"checkList"
>
-->
<!--
<el-checkbox-group
v-model=
"checkList"
>
-->
<!--
<el-checkbox
v-for=
"item in allLabelList"
--
>
<!--
<el-checkbox
v-for=
"item in allLabelList"
--
>
<!--:key="item.id" :label="item.name">
</el-checkbox>
-->
<!--:key="item.id" :label="item.name">
</el-checkbox>
-->
...
@@ -132,7 +185,8 @@
...
@@ -132,7 +185,8 @@
type=
"button"
type=
"button"
icon=
"edit"
icon=
"edit"
@
click=
"editLable(form.tagDTOS)"
@
click=
"editLable(form.tagDTOS)"
>
编辑
</el-button>
>
编辑
</el-button
>
</el-form-item>
</el-form-item>
<el-row>
<el-row>
<el-form-item
label=
"所属公司"
prop=
"corporationId"
>
<el-form-item
label=
"所属公司"
prop=
"corporationId"
>
...
@@ -145,11 +199,21 @@
...
@@ -145,11 +199,21 @@
placeholder=
"请选择公司"
placeholder=
"请选择公司"
>
>
<el-option
label=
"全部"
:key=
"undefined"
:value=
"0"
></el-option>
<el-option
label=
"全部"
:key=
"undefined"
:value=
"0"
></el-option>
<el-option
v-for=
"val in companys_list"
:key=
"val.id"
:label=
"val.name"
:value=
"val.id"
></el-option>
<el-option
v-for=
"val in companys_list"
:key=
"val.id"
:label=
"val.name"
:value=
"val.id"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"所属门店"
>
<el-form-item
label=
"所属门店"
>
<el-select
class=
"filter-item"
v-model=
"form.companyId"
clearable
placeholder=
"请选择"
>
<el-select
class=
"filter-item"
v-model=
"form.companyId"
clearable
placeholder=
"请选择"
>
<el-option
label=
"全部"
:key=
"undefined"
:value=
"0"
></el-option>
<el-option
label=
"全部"
:key=
"undefined"
:value=
"0"
></el-option>
<el-option
<el-option
v-for=
"val in branchCompany_list"
v-for=
"val in branchCompany_list"
...
@@ -164,27 +228,39 @@
...
@@ -164,27 +228,39 @@
<el-row>
<el-row>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"是否为推荐"
v-if=
"false"
>
<el-form-item
label=
"是否为推荐"
v-if=
"false"
>
<el-radio
class=
"radio"
v-model=
"form.recommend"
label=
"1"
>
是
</el-radio>
<el-radio
class=
"radio"
v-model=
"form.recommend"
label=
"1"
<el-radio
class=
"radio"
v-model=
"form.recommend"
label=
"0"
>
否
</el-radio>
>
是
</el-radio
>
<el-radio
class=
"radio"
v-model=
"form.recommend"
label=
"0"
>
否
</el-radio
>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"会员价格"
v-if=
"false"
>
<el-form-item
label=
"会员价格"
v-if=
"false"
>
<el-radio
class=
"radio"
v-model=
"form.isMember"
label=
"1"
>
启用会员价
</el-radio>
<el-radio
class=
"radio"
v-model=
"form.isMember"
label=
"1"
<el-radio
class=
"radio"
v-model=
"form.isMember"
label=
"0"
>
不启用会员价
</el-radio>
>
启用会员价
</el-radio
>
<el-radio
class=
"radio"
v-model=
"form.isMember"
label=
"0"
>
不启用会员价
</el-radio
>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-form-item
label
v-if=
"false"
>
<el-form-item
label
v-if=
"false"
>
<el-radio
class=
"radio"
v-model=
"form.isOutside"
label=
"0"
>
省内
</el-radio>
<el-radio
class=
"radio"
v-model=
"form.isOutside"
label=
"0"
<el-radio
class=
"radio"
v-model=
"form.isOutside"
label=
"1"
>
省外
</el-radio>
>
省内
</el-radio
>
<el-radio
class=
"radio"
v-model=
"form.isOutside"
label=
"1"
>
省外
</el-radio
>
</el-form-item>
</el-form-item>
<el-row>
<el-row>
<!--
<el-col
:span=
"24"
>
-->
<!--
<el-col
:span=
"24"
>
-->
<el-form-item
label=
"出发地"
>
<el-form-item
label=
"出发地"
>
<el-input
<el-input
style=
"display: inline-block;
margin-right: 10px;width: 240px;
"
style=
"display: inline-block;
margin-right: 10px; width: 240px
"
v-model=
"item.name"
v-model=
"item.name"
v-for=
"item in departureList"
v-for=
"item in departureList"
:key=
"item.id"
:key=
"item.id"
...
@@ -197,7 +273,8 @@
...
@@ -197,7 +273,8 @@
type=
"button"
type=
"button"
icon=
"edit"
icon=
"edit"
@
click=
"editDeparture(departureList)"
@
click=
"editDeparture(departureList)"
>
编辑
</el-button>
>
编辑
</el-button
>
<!--
<el-autocomplete-->
<!--
<el-autocomplete-->
<!--v-for="item in departureList"-->
<!--v-for="item in departureList"-->
<!--:key="item.id"-->
<!--:key="item.id"-->
...
@@ -237,7 +314,7 @@
...
@@ -237,7 +314,7 @@
type=
"button"
type=
"button"
@
click=
"editPathway(item)"
@
click=
"editPathway(item)"
>
>
{{
item
.
name
}}
{{
item
.
name
}}
<i
class=
"el-icon-edit el-icon--right"
></i>
<i
class=
"el-icon-edit el-icon--right"
></i>
</el-button>
</el-button>
<el-button
<el-button
...
@@ -246,7 +323,8 @@
...
@@ -246,7 +323,8 @@
type=
"button"
type=
"button"
icon=
"plus"
icon=
"plus"
@
click=
"addPathway()"
@
click=
"addPathway()"
>
添加
</el-button>
>
添加
</el-button
>
</el-form-item>
</el-form-item>
<!--
</el-col>
-->
<!--
</el-col>
-->
</el-row>
</el-row>
...
@@ -259,7 +337,8 @@
...
@@ -259,7 +337,8 @@
:key=
"item.id"
:key=
"item.id"
class=
"el-button el-button--default"
class=
"el-button el-button--default"
type=
"button"
type=
"button"
>
{{
item
.
startTime
}}
~
{{
item
.
endTime
}}
</el-button>
>
{{
item
.
startTime
}}
~
{{
item
.
endTime
}}
</el-button
>
<el-button
<el-button
size=
"small"
size=
"small"
...
@@ -267,7 +346,8 @@
...
@@ -267,7 +346,8 @@
type=
"button"
type=
"button"
icon=
"edit"
icon=
"edit"
@
click=
"editTime()"
@
click=
"editTime()"
>
编辑
</el-button>
>
编辑
</el-button
>
<!--
<el-input
v-model=
"form.operator"
placeholder=
"请选择活动日期"
></el-input>
-->
<!--
<el-input
v-model=
"form.operator"
placeholder=
"请选择活动日期"
></el-input>
-->
</el-form-item>
</el-form-item>
</el-row>
</el-row>
...
@@ -275,43 +355,59 @@
...
@@ -275,43 +355,59 @@
<el-row>
<el-row>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"alt"
v-if=
"false"
>
<el-form-item
label=
"alt"
v-if=
"false"
>
<el-input
v-model=
"form.alt"
type=
"text"
placeholder=
"请输入替代文本"
></el-input>
<el-input
v-model=
"form.alt"
type=
"text"
placeholder=
"请输入替代文本"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"img-title"
v-if=
"false"
>
<el-form-item
label=
"img-title"
v-if=
"false"
>
<el-input
v-model=
"form.imgTitle"
type=
"text"
placeholder=
"请输入图片title"
></el-input>
<el-input
v-model=
"form.imgTitle"
type=
"text"
placeholder=
"请输入图片title"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"img-keyword"
v-if=
"false"
>
<el-form-item
label=
"img-keyword"
v-if=
"false"
>
<el-input
v-model=
"form.imgKeyword"
type=
"text"
placeholder=
"请输入图片关键字"
></el-input>
<el-input
v-model=
"form.imgKeyword"
type=
"text"
placeholder=
"请输入图片关键字"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"img-desc"
v-if=
"false"
>
<el-form-item
label=
"img-desc"
v-if=
"false"
>
<el-input
v-model=
"form.imgDesc"
type=
"text"
placeholder=
"请输入图片描述"
></el-input>
<el-input
v-model=
"form.imgDesc"
type=
"text"
placeholder=
"请输入图片描述"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-form-item
label=
"海报背景"
:style=
"
{
display:'block'
}" v-if="false">
<el-form-item
label=
"海报背景"
:style=
"
{
display: 'block'
}" v-if="false">
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
:action=
"BASE_API
+
'/api/universal/file/app/unauth/admin/upload'"
:action=
"BASE_API
+
'/api/universal/file/app/unauth/admin/upload'"
:show-file-list=
"false"
:show-file-list=
"false"
:on-success=
"handlePosterSuccess"
:on-success=
"handlePosterSuccess"
:on-progress=
"uploadPosterProcess"
:on-progress=
"uploadPosterProcess"
list-type=
"picture"
list-type=
"picture"
>
>
<div
slot=
"tip"
class=
"el-upload__tip"
>
<div
slot=
"tip"
class=
"el-upload__tip"
>
<span
style=
"color: red
;
"
>
建议尺寸:320*228px
</span>
<span
style=
"color: red"
>
建议尺寸:320*228px
</span>
</div>
</div>
<el-progress
<el-progress
v-show=
"imgPosterFlag == true"
v-show=
"imgPosterFlag == true"
...
@@ -320,21 +416,30 @@
...
@@ -320,21 +416,30 @@
style=
"margin-top: 20px"
style=
"margin-top: 20px"
></el-progress>
></el-progress>
<img
<img
v-if=
"$utils.isString(form.posterBackground) && !$utils.isEmpty(form.posterBackground)&& !imgPosterFlag"
v-if=
"
$utils.isString(form.posterBackground) &&
!$utils.isEmpty(form.posterBackground) &&
!imgPosterFlag
"
:src=
"form.posterBackground"
:src=
"form.posterBackground"
style=
"width:
300px;max-height:300px;
"
style=
"width:
300px; max-height: 300px
"
/>
/>
<i
<i
v-else-if=
"!imgPosterFlag"
v-else-if=
"!imgPosterFlag"
class=
"el-icon-plus avatar-uploader-icon"
class=
"el-icon-plus avatar-uploader-icon"
style=
"lineHeight:100px;width:300px;height: 100px;border: 1px dashed #ccc;"
style=
"
lineheight: 100px;
width: 300px;
height: 100px;
border: 1px dashed #ccc;
"
></i>
></i>
</el-upload>
</el-upload>
</el-form-item>
</el-form-item>
<el-tabs
v-model=
"activeName2"
type=
"card"
@
tab-click=
"handleClick"
>
<el-tabs
v-model=
"activeName2"
type=
"card"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"行程亮点"
name=
"first"
>
<el-tab-pane
label=
"行程亮点"
name=
"first"
>
<div
class=
"editor-container"
v-if=
"activeName2
==
'first'"
>
<div
class=
"editor-container"
v-if=
"activeName2
==
'first'"
>
<UE
<UE
:editorId=
"activeName2"
:editorId=
"activeName2"
:defaultMsg=
"form.content"
:defaultMsg=
"form.content"
...
@@ -346,7 +451,7 @@
...
@@ -346,7 +451,7 @@
<!--
<Editor
v-if=
"activeName2=='first'"
@
input=
"handelContentIncrease"
:value=
"form.content"
:myQuillEditor=
"'myQuillEditorContent'"
:activeName2=
"activeName2"
></Editor>
-->
<!--
<Editor
v-if=
"activeName2=='first'"
@
input=
"handelContentIncrease"
:value=
"form.content"
:myQuillEditor=
"'myQuillEditorContent'"
:activeName2=
"activeName2"
></Editor>
-->
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"行程介绍"
name=
"second"
>
<el-tab-pane
label=
"行程介绍"
name=
"second"
>
<div
class=
"editor-container"
v-if=
"activeName2
==
'second'"
>
<div
class=
"editor-container"
v-if=
"activeName2
==
'second'"
>
<UE
<UE
:editorId=
"activeName2"
:editorId=
"activeName2"
:defaultMsg=
"form.introduce"
:defaultMsg=
"form.introduce"
...
@@ -358,7 +463,7 @@
...
@@ -358,7 +463,7 @@
<!--
<Editor
v-if=
"activeName2=='second'"
@
input=
"handelIntroduceIncrease"
:value=
"form.introduce"
:myQuillEditor=
"'myQuillEditorIntroduce'"
:activeName2=
"activeName2"
></Editor>
-->
<!--
<Editor
v-if=
"activeName2=='second'"
@
input=
"handelIntroduceIncrease"
:value=
"form.introduce"
:myQuillEditor=
"'myQuillEditorIntroduce'"
:activeName2=
"activeName2"
></Editor>
-->
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"费用说明"
name=
"third"
>
<el-tab-pane
label=
"费用说明"
name=
"third"
>
<div
class=
"editor-container"
v-if=
"activeName2
==
'third'"
>
<div
class=
"editor-container"
v-if=
"activeName2
==
'third'"
>
<UE
<UE
:editorId=
"activeName2"
:editorId=
"activeName2"
:defaultMsg=
"form.explain"
:defaultMsg=
"form.explain"
...
@@ -373,12 +478,18 @@
...
@@ -373,12 +478,18 @@
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"cancelTour"
>
取 消
</el-button>
<el-button
@
click=
"cancelTour"
>
取 消
</el-button>
<el-button
type=
"primary"
v-if=
"title=='创建' && !isCreate"
@
click=
"create('form')"
>
确 定
</el-button>
<el-button
<el-button
type=
"primary"
type=
"primary"
v-if=
"title=='编辑' && !isCreate&&good_btn_update"
v-if=
"title == '创建' && !isCreate"
@
click=
"create('form')"
>
确 定
</el-button
>
<el-button
type=
"primary"
v-if=
"title == '编辑' && !isCreate && good_btn_update"
@
click=
"update('form')"
@
click=
"update('form')"
>
确 定
</el-button>
>
确 定
</el-button
>
</div>
</div>
<!--编辑出发地-->
<!--编辑出发地-->
<departureModal
<departureModal
...
@@ -393,7 +504,11 @@
...
@@ -393,7 +504,11 @@
v-on:destinationEvent=
"destinationEvent"
v-on:destinationEvent=
"destinationEvent"
></destination>
></destination>
<!--编辑途径地-->
<!--编辑途径地-->
<destination
v-if=
"showPathWayVisible"
:obj=
"onePathObj"
v-on:pathWayEvent=
"pathWayEvent"
></destination>
<destination
v-if=
"showPathWayVisible"
:obj=
"onePathObj"
v-on:pathWayEvent=
"pathWayEvent"
></destination>
<!--编辑活动时间-->
<!--编辑活动时间-->
<tourTime
<tourTime
v-if=
"showTimeVisible"
v-if=
"showTimeVisible"
...
...
static/utf8-jsp/themes/default/css/ueditor.css
View file @
01262b7b
/*基础UI构建
/*基础UI构建
*/
*/
.edui-default
{
.edui-default
{
z-index
:
3
000
!important
;
z-index
:
1
000
!important
;
}
}
.edui-popup-content
{
.edui-popup-content
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
height
:
200px
!important
;
height
:
200px
!important
;
overflow-y
:
auto
;
overflow-y
:
auto
;
}
}
/* common layer */
/* common layer */
.edui-default
.edui-box
{
.edui-default
.edui-box
{
border
:
none
;
border
:
none
;
padding
:
0
;
padding
:
0
;
margin
:
0
;
margin
:
0
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.edui-default
a
.edui-box
{
.edui-default
a
.edui-box
{
display
:
block
;
display
:
block
;
text-decoration
:
none
;
text-decoration
:
none
;
color
:
black
;
color
:
black
;
}
}
.edui-default
a
.edui-box
:hover
{
.edui-default
a
.edui-box
:hover
{
text-decoration
:
none
;
text-decoration
:
none
;
}
}
.edui-default
a
.edui-box
:active
{
.edui-default
a
.edui-box
:active
{
text-decoration
:
none
;
text-decoration
:
none
;
}
}
.edui-default
table
.edui-box
{
.edui-default
table
.edui-box
{
border-collapse
:
collapse
;
border-collapse
:
collapse
;
}
}
.edui-default
ul
.edui-box
{
.edui-default
ul
.edui-box
{
list-style-type
:
none
;
list-style-type
:
none
;
}
}
div
.edui-box
{
div
.edui-box
{
position
:
relative
;
position
:
relative
;
display
:
-moz-inline-box
!important
;
display
:
-moz-inline-box
!important
;
display
:
inline-block
!important
;
display
:
inline-block
!important
;
vertical-align
:
top
;
vertical-align
:
top
;
}
}
.edui-default
.edui-clearfix
{
.edui-default
.edui-clearfix
{
zoom
:
1
zoom
:
1
}
}
.edui-default
.edui-clearfix
:after
{
.edui-default
.edui-clearfix
:after
{
content
:
'\20'
;
content
:
'\20'
;
display
:
block
;
display
:
block
;
clear
:
both
;
clear
:
both
;
}
}
*
html
div
.edui-box
{
*
html
div
.edui-box
{
display
:
inline
!important
;
display
:
inline
!important
;
}
}
*
:first-child
+
html
div
.edui-box
{
*
:first-child
+
html
div
.edui-box
{
display
:
inline
!important
;
display
:
inline
!important
;
}
}
/* control layout */
/* control layout */
.edui-default
.edui-button-body
,
.edui-splitbutton-body
,
.edui-menubutton-body
,
.edui-combox-body
{
.edui-default
.edui-button-body
,
position
:
relative
;
.edui-splitbutton-body
,
.edui-menubutton-body
,
.edui-combox-body
{
position
:
relative
;
}
}
.edui-default
.edui-popup
{
.edui-default
.edui-popup
{
position
:
absolute
;
position
:
absolute
;
-webkit-user-select
:
none
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-moz-user-select
:
none
;
}
}
.edui-default
.edui-popup
.edui-shadow
{
.edui-default
.edui-popup
.edui-shadow
{
position
:
absolute
;
position
:
absolute
;
z-index
:
-1
;
z-index
:
-1
;
}
}
.edui-default
.edui-popup
.edui-bordereraser
{
.edui-default
.edui-popup
.edui-bordereraser
{
position
:
absolute
;
position
:
absolute
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.edui-default
.edui-tablepicker
.edui-canvas
{
.edui-default
.edui-tablepicker
.edui-canvas
{
position
:
relative
;
position
:
relative
;
}
}
.edui-default
.edui-tablepicker
.edui-canvas
.edui-overlay
{
.edui-default
.edui-tablepicker
.edui-canvas
.edui-overlay
{
position
:
absolute
;
position
:
absolute
;
}
}
.edui-default
.edui-dialog-modalmask
,
.edui-dialog-dragmask
{
.edui-default
.edui-dialog-modalmask
,
position
:
absolute
;
.edui-dialog-dragmask
{
left
:
0
;
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
top
:
0
;
height
:
100%
;
width
:
100%
;
height
:
100%
;
}
}
.edui-default
.edui-toolbar
{
.edui-default
.edui-toolbar
{
position
:
relative
;
position
:
relative
;
}
}
/*
/*
* default theme
* default theme
*/
*/
.edui-default
.edui-label
{
.edui-default
.edui-label
{
cursor
:
default
;
cursor
:
default
;
}
}
.edui-default
span
.edui-clickable
{
.edui-default
span
.edui-clickable
{
color
:
blue
;
color
:
blue
;
cursor
:
pointer
;
cursor
:
pointer
;
text-decoration
:
underline
;
text-decoration
:
underline
;
}
}
.edui-default
span
.edui-unclickable
{
.edui-default
span
.edui-unclickable
{
color
:
gray
;
color
:
gray
;
cursor
:
default
;
cursor
:
default
;
}
}
/* 工具栏 */
/* 工具栏 */
.edui-default
.edui-toolbar
{
.edui-default
.edui-toolbar
{
cursor
:
default
;
cursor
:
default
;
-webkit-user-select
:
none
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-moz-user-select
:
none
;
padding
:
1px
;
padding
:
1px
;
overflow
:
hidden
;
/*全屏下单独一行不占位*/
overflow
:
hidden
;
zoom
:
1
;
/*全屏下单独一行不占位*/
width
:
auto
;
zoom
:
1
;
height
:
auto
;
width
:
auto
;
height
:
auto
;
}
}
.edui-default
.edui-toolbar
.edui-button
,
.edui-default
.edui-toolbar
.edui-button
,
.edui-default
.edui-toolbar
.edui-splitbutton
,
.edui-default
.edui-toolbar
.edui-splitbutton
,
.edui-default
.edui-toolbar
.edui-menubutton
,
.edui-default
.edui-toolbar
.edui-menubutton
,
.edui-default
.edui-toolbar
.edui-combox
{
.edui-default
.edui-toolbar
.edui-combox
{
margin
:
1px
;
margin
:
1px
;
}
}
/*UI工具栏、编辑区域、底部*/
/*UI工具栏、编辑区域、底部*/
.edui-default
.edui-editor
{
.edui-default
.edui-editor
{
border
:
1px
solid
#d4d4d4
;
border
:
1px
solid
#d4d4d4
;
background-color
:
white
;
background-color
:
white
;
position
:
relative
;
position
:
relative
;
overflow
:
visible
;
overflow
:
visible
;
-webkit-border-radius
:
4px
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
border-radius
:
4px
;
}
.edui-editor
div
{
width
:
auto
;
height
:
auto
;
}
}
.edui-editor
div
{
width
:
auto
;
height
:
auto
;
}
.edui-default
.edui-editor-toolbarbox
{
.edui-default
.edui-editor-toolbarbox
{
position
:
relative
;
position
:
relative
;
zoom
:
1
;
zoom
:
1
;
-webkit-box-shadow
:
0
1px
4px
rgba
(
204
,
204
,
204
,
0.6
);
-webkit-box-shadow
:
0
1px
4px
rgba
(
204
,
204
,
204
,
0.6
);
-moz-box-shadow
:
0
1px
4px
rgba
(
204
,
204
,
204
,
0.6
);
-moz-box-shadow
:
0
1px
4px
rgba
(
204
,
204
,
204
,
0.6
);
box-shadow
:
0
1px
4px
rgba
(
204
,
204
,
204
,
0.6
);
box-shadow
:
0
1px
4px
rgba
(
204
,
204
,
204
,
0.6
);
border-top-left-radius
:
2px
;
border-top-left-radius
:
2px
;
border-top-right-radius
:
2px
;
border-top-right-radius
:
2px
;
}
}
.edui-default
.edui-editor-toolbarboxouter
{
.edui-default
.edui-editor-toolbarboxouter
{
border-bottom
:
1px
solid
#d4d4d4
;
border-bottom
:
1px
solid
#d4d4d4
;
background-color
:
#fafafa
;
background-color
:
#fafafa
;
background-image
:
-moz-linear-gradient
(
top
,
#ffffff
,
#f2f2f2
);
background-image
:
-moz-linear-gradient
(
top
,
#ffffff
,
#f2f2f2
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#ffffff
),
to
(
#f2f2f2
));
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#ffffff
),
to
(
#f2f2f2
));
background-image
:
-webkit-linear-gradient
(
top
,
#ffffff
,
#f2f2f2
);
background-image
:
-webkit-linear-gradient
(
top
,
#ffffff
,
#f2f2f2
);
background-image
:
-o-linear-gradient
(
top
,
#ffffff
,
#f2f2f2
);
background-image
:
-o-linear-gradient
(
top
,
#ffffff
,
#f2f2f2
);
background-image
:
linear-gradient
(
to
bottom
,
#ffffff
,
#f2f2f2
);
background-image
:
linear-gradient
(
to
bottom
,
#ffffff
,
#f2f2f2
);
background-repeat
:
repeat-x
;
background-repeat
:
repeat-x
;
/*border: 1px solid #d4d4d4;*/
/*border: 1px solid #d4d4d4;*/
-webkit-border-radius
:
4px
4px
0
0
;
-webkit-border-radius
:
4px
4px
0
0
;
-moz-border-radius
:
4px
4px
0
0
;
-moz-border-radius
:
4px
4px
0
0
;
border-radius
:
4px
4px
0
0
;
border-radius
:
4px
4px
0
0
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#ffffffff'
,
endColorstr
=
'#fff2f2f2'
,
GradientType
=
0
);
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#ffffffff'
,
endColorstr
=
'#fff2f2f2'
,
GradientType
=
0
);
*
zoom
:
1
;
*
zoom
:
1
;
-webkit-box-shadow
:
0
1px
4px
rgba
(
0
,
0
,
0
,
0.065
);
-webkit-box-shadow
:
0
1px
4px
rgba
(
0
,
0
,
0
,
0.065
);
-moz-box-shadow
:
0
1px
4px
rgba
(
0
,
0
,
0
,
0.065
);
-moz-box-shadow
:
0
1px
4px
rgba
(
0
,
0
,
0
,
0.065
);
box-shadow
:
0
1px
4px
rgba
(
0
,
0
,
0
,
0.065
);
box-shadow
:
0
1px
4px
rgba
(
0
,
0
,
0
,
0.065
);
}
}
.edui-default
.edui-editor-toolbarboxinner
{
.edui-default
.edui-editor-toolbarboxinner
{
padding
:
2px
;
padding
:
2px
;
}
}
.edui-default
.edui-editor-iframeholder
{
.edui-default
.edui-editor-iframeholder
{
position
:
relative
;
position
:
relative
;
/*for fix ie6 toolbarmsg under iframe bug. relative -> static */
/*for fix ie6 toolbarmsg under iframe bug. relative -> static */
/*_position: static !important;*
/*_position: static !important;*
}
}
.edui-default .edui-editor-iframeholder textarea {
.edui-default .edui-editor-iframeholder textarea {
...
@@ -202,820 +213,831 @@ div.edui-box {
...
@@ -202,820 +213,831 @@ div.edui-box {
.edui-default .edui-editor-bottombar {
.edui-default .edui-editor-bottombar {
/*border-top: 1px solid #ccc;*/
/*border-top: 1px solid #ccc;*/
/*height: 20px;*/
/*height: 20px;*/
/*width: 40%;*/
/*width: 40%;*/
/*float: left;*/
/*float: left;*/
/*overflow: hidden;*/
/*overflow: hidden;*/
}
}
.edui-default
.edui-editor-bottomContainer
{
.edui-default
.edui-editor-bottomContainer
{
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.edui-default
.edui-editor-bottomContainer
table
{
.edui-default
.edui-editor-bottomContainer
table
{
width
:
100%
;
width
:
100%
;
height
:
0
;
height
:
0
;
overflow
:
hidden
;
overflow
:
hidden
;
border-spacing
:
0
;
border-spacing
:
0
;
}
}
.edui-default
.edui-editor-bottomContainer
td
{
.edui-default
.edui-editor-bottomContainer
td
{
white-space
:
nowrap
;
white-space
:
nowrap
;
border-top
:
1px
solid
#ccc
;
border-top
:
1px
solid
#ccc
;
line-height
:
20px
;
line-height
:
20px
;
font-size
:
12px
;
font-size
:
12px
;
font-family
:
Arial
,
Helvetica
,
Tahoma
,
Verdana
,
Sans-Serif
;
font-family
:
Arial
,
Helvetica
,
Tahoma
,
Verdana
,
Sans-Serif
;
}
}
.edui-default
.edui-editor-wordcount
{
.edui-default
.edui-editor-wordcount
{
text-align
:
right
;
text-align
:
right
;
margin-right
:
5px
;
margin-right
:
5px
;
color
:
#aaa
;
color
:
#aaa
;
}
}
.edui-default
.edui-editor-scale
{
.edui-default
.edui-editor-scale
{
width
:
12px
;
width
:
12px
;
}
}
.edui-default
.edui-editor-scale
.edui-editor-icon
{
.edui-default
.edui-editor-scale
.edui-editor-icon
{
float
:
right
;
float
:
right
;
width
:
100%
;
width
:
100%
;
height
:
12px
;
height
:
12px
;
margin-top
:
10px
;
margin-top
:
10px
;
background
:
url(../images/scale.png)
no-repeat
;
background
:
url(../images/scale.png)
no-repeat
;
cursor
:
se-resize
;
cursor
:
se-resize
;
}
}
.edui-default
.edui-editor-breadcrumb
{
.edui-default
.edui-editor-breadcrumb
{
margin
:
2px
0
0
3px
;
margin
:
2px
0
0
3px
;
}
}
.edui-default
.edui-editor-breadcrumb
span
{
.edui-default
.edui-editor-breadcrumb
span
{
cursor
:
pointer
;
cursor
:
pointer
;
text-decoration
:
underline
;
text-decoration
:
underline
;
color
:
blue
;
color
:
blue
;
}
}
.edui-default
.edui-toolbar
.edui-for-fullscreen
{
.edui-default
.edui-toolbar
.edui-for-fullscreen
{
float
:
right
;
float
:
right
;
}
}
.edui-default
.edui-bubble
.edui-popup-content
{
.edui-default
.edui-bubble
.edui-popup-content
{
border
:
1px
solid
#DCAC6C
;
border
:
1px
solid
#DCAC6C
;
background-color
:
#fff6d9
;
background-color
:
#fff6d9
;
padding
:
5px
;
padding
:
5px
;
font-size
:
10pt
;
font-size
:
10pt
;
font-family
:
"宋体"
;
font-family
:
"宋体"
;
}
}
.edui-default
.edui-bubble
.edui-shadow
{
.edui-default
.edui-bubble
.edui-shadow
{
/*box-shadow: 1px 1px 3px #818181;*/
/*box-shadow: 1px 1px 3px #818181;*/
/*-webkit-box-shadow: 2px 2px 3px #818181;*/
/*-webkit-box-shadow: 2px 2px 3px #818181;*/
/*-moz-box-shadow: 2px 2px 3px #818181;*/
/*-moz-box-shadow: 2px 2px 3px #818181;*/
/*filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius = '2', MakeShadow = 'true', ShadowOpacity = '0.5');*/
/*filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius = '2', MakeShadow = 'true', ShadowOpacity = '0.5');*/
}
}
.edui-default
.edui-editor-toolbarmsg
{
.edui-default
.edui-editor-toolbarmsg
{
background-color
:
#FFF6D9
;
background-color
:
#FFF6D9
;
border-bottom
:
1px
solid
#ccc
;
border-bottom
:
1px
solid
#ccc
;
position
:
absolute
;
position
:
absolute
;
bottom
:
-25px
;
bottom
:
-25px
;
left
:
0
;
left
:
0
;
z-index
:
2002
;
z-index
:
2002
;
width
:
99.9%
;
width
:
99.9%
;
}
}
.edui-default
.edui-editor-toolbarmsg-upload
{
.edui-default
.edui-editor-toolbarmsg-upload
{
font-size
:
14px
;
font-size
:
14px
;
color
:
blue
;
color
:
blue
;
width
:
100px
;
width
:
100px
;
height
:
16px
;
height
:
16px
;
line-height
:
16px
;
line-height
:
16px
;
cursor
:
pointer
;
cursor
:
pointer
;
position
:
absolute
;
position
:
absolute
;
top
:
5px
;
top
:
5px
;
left
:
350px
;
left
:
350px
;
}
}
.edui-default
.edui-editor-toolbarmsg-label
{
.edui-default
.edui-editor-toolbarmsg-label
{
font-size
:
12px
;
font-size
:
12px
;
line-height
:
16px
;
line-height
:
16px
;
padding
:
4px
;
padding
:
4px
;
}
}
.edui-default
.edui-editor-toolbarmsg-close
{
.edui-default
.edui-editor-toolbarmsg-close
{
float
:
right
;
float
:
right
;
width
:
20px
;
width
:
20px
;
height
:
16px
;
height
:
16px
;
line-height
:
16px
;
line-height
:
16px
;
cursor
:
pointer
;
cursor
:
pointer
;
color
:
red
;
color
:
red
;
}
}
/*可选中菜单按钮*/
/*可选中菜单按钮*/
.edui-default
.edui-list
.edui-bordereraser
{
.edui-default
.edui-list
.edui-bordereraser
{
display
:
none
;
display
:
none
;
}
}
.edui-default
.edui-listitem
{
.edui-default
.edui-listitem
{
padding
:
1px
;
padding
:
1px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
.edui-default
.edui-list
.edui-state-hover
{
.edui-default
.edui-list
.edui-state-hover
{
position
:
relative
;
position
:
relative
;
background-color
:
#fff5d4
;
background-color
:
#fff5d4
;
border
:
1px
solid
#dcac6c
;
border
:
1px
solid
#dcac6c
;
padding
:
0
;
padding
:
0
;
}
}
.edui-default
.edui-for-fontfamily
.edui-listitem-label
{
.edui-default
.edui-for-fontfamily
.edui-listitem-label
{
min-width
:
130px
;
min-width
:
130px
;
_width
:
120px
;
_width
:
120px
;
font-size
:
12px
;
font-size
:
12px
;
height
:
22px
;
height
:
22px
;
line-height
:
22px
;
line-height
:
22px
;
padding-left
:
5px
;
padding-left
:
5px
;
}
}
.edui-default
.edui-for-insertcode
.edui-listitem-label
{
.edui-default
.edui-for-insertcode
.edui-listitem-label
{
min-width
:
120px
;
min-width
:
120px
;
_width
:
120px
;
_width
:
120px
;
font-size
:
12px
;
font-size
:
12px
;
height
:
22px
;
height
:
22px
;
line-height
:
22px
;
line-height
:
22px
;
padding-left
:
5px
;
padding-left
:
5px
;
}
}
.edui-default
.edui-for-underline
.edui-listitem-label
{
.edui-default
.edui-for-underline
.edui-listitem-label
{
min-width
:
120px
;
min-width
:
120px
;
_width
:
120px
;
_width
:
120px
;
padding
:
3px
5px
;
padding
:
3px
5px
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.edui-default
.edui-for-fontsize
.edui-listitem-label
{
.edui-default
.edui-for-fontsize
.edui-listitem-label
{
min-width
:
120px
;
min-width
:
120px
;
_width
:
120px
;
_width
:
120px
;
padding
:
3px
5px
;
padding
:
3px
5px
;
}
}
.edui-default
.edui-for-paragraph
.edui-listitem-label
{
.edui-default
.edui-for-paragraph
.edui-listitem-label
{
min-width
:
200px
;
min-width
:
200px
;
_width
:
200px
;
_width
:
200px
;
padding
:
2px
5px
;
padding
:
2px
5px
;
}
}
.edui-default
.edui-for-rowspacingtop
.edui-listitem-label
,
.edui-default
.edui-for-rowspacingtop
.edui-listitem-label
,
.edui-default
.edui-for-rowspacingbottom
.edui-listitem-label
{
.edui-default
.edui-for-rowspacingbottom
.edui-listitem-label
{
min-width
:
53px
;
min-width
:
53px
;
_width
:
53px
;
_width
:
53px
;
padding
:
2px
5px
;
padding
:
2px
5px
;
}
}
.edui-default
.edui-for-lineheight
.edui-listitem-label
{
.edui-default
.edui-for-lineheight
.edui-listitem-label
{
min-width
:
53px
;
min-width
:
53px
;
_width
:
53px
;
_width
:
53px
;
padding
:
2px
5px
;
padding
:
2px
5px
;
}
}
.edui-default
.edui-for-customstyle
.edui-listitem-label
{
.edui-default
.edui-for-customstyle
.edui-listitem-label
{
min-width
:
200px
;
min-width
:
200px
;
_width
:
200px
;
_width
:
200px
;
width
:
200px
!important
;
width
:
200px
!important
;
padding
:
2px
5px
;
padding
:
2px
5px
;
}
}
/* 可选中按钮弹出菜单*/
/* 可选中按钮弹出菜单*/
.edui-default
.edui-menu
{
.edui-default
.edui-menu
{
z-index
:
3000
;
z-index
:
3000
;
}
}
.edui-default
.edui-menu
.edui-popup-content
{
.edui-default
.edui-menu
.edui-popup-content
{
padding
:
3px
;
padding
:
3px
;
}
}
.edui-default
.edui-menu-body
{
.edui-default
.edui-menu-body
{
_width
:
150px
;
_width
:
150px
;
min-width
:
170px
;
min-width
:
170px
;
background
:
url("../images/sparator_v.png")
repeat-y
25px
;
background
:
url("../images/sparator_v.png")
repeat-y
25px
;
}
}
.edui-default
.edui-menuitem-body
{
.edui-default
.edui-menuitem-body
{}
}
.edui-default
.edui-menuitem
{
.edui-default
.edui-menuitem
{
height
:
20px
;
height
:
20px
;
cursor
:
default
;
cursor
:
default
;
vertical-align
:
top
;
vertical-align
:
top
;
}
}
.edui-default
.edui-menuitem
.edui-icon
{
.edui-default
.edui-menuitem
.edui-icon
{
width
:
20px
!important
;
width
:
20px
!important
;
height
:
20px
!important
;
height
:
20px
!important
;
background
:
url(../images/icons.png)
0
-4000px
;
background
:
url(../images/icons.png)
0
-4000px
;
background
:
url(../images/icons.gif)
0
-4000px
\
9
;
background
:
url(../images/icons.gif)
0
-4000px
\
9
;
}
}
.edui-default
.edui-menuitem
.edui-label
{
.edui-default
.edui-menuitem
.edui-label
{
font-size
:
12px
;
font-size
:
12px
;
line-height
:
20px
;
line-height
:
20px
;
height
:
20px
;
height
:
20px
;
padding-left
:
10px
;
padding-left
:
10px
;
}
}
.edui-default
.edui-state-checked
.edui-menuitem-body
{
.edui-default
.edui-state-checked
.edui-menuitem-body
{
background
:
url("../images/icons-all.gif")
no-repeat
6px
-205px
;
background
:
url("../images/icons-all.gif")
no-repeat
6px
-205px
;
}
}
.edui-default
.edui-state-disabled
.edui-menuitem-label
{
.edui-default
.edui-state-disabled
.edui-menuitem-label
{
color
:
gray
;
color
:
gray
;
}
}
/*不可选中菜单按钮 */
/*不可选中菜单按钮 */
.edui-default
.edui-toolbar
.edui-combox-body
.edui-button-body
{
.edui-default
.edui-toolbar
.edui-combox-body
.edui-button-body
{
width
:
60px
;
width
:
60px
;
font-size
:
12px
;
font-size
:
12px
;
height
:
20px
;
height
:
20px
;
line-height
:
20px
;
line-height
:
20px
;
padding-left
:
5px
;
padding-left
:
5px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
margin
:
0
3px
0
0
;
margin
:
0
3px
0
0
;
}
}
.edui-default
.edui-toolbar
.edui-combox-body
.edui-arrow
{
.edui-default
.edui-toolbar
.edui-combox-body
.edui-arrow
{
background
:
url(../images/icons.png)
-741px
0
;
background
:
url(../images/icons.png)
-741px
0
;
_background
:
url(../images/icons.gif)
-741px
0
;
_background
:
url(../images/icons.gif)
-741px
0
;
height
:
20px
;
height
:
20px
;
width
:
9px
;
width
:
9px
;
}
}
.edui-default
.edui-toolbar
.edui-combox
.edui-combox-body
{
.edui-default
.edui-toolbar
.edui-combox
.edui-combox-body
{
border
:
1px
solid
#CCC
;
border
:
1px
solid
#CCC
;
background-color
:
white
;
background-color
:
white
;
border-radius
:
2px
;
border-radius
:
2px
;
-webkit-border-radius
:
2px
;
-webkit-border-radius
:
2px
;
-moz-border-radius
:
2px
;
-moz-border-radius
:
2px
;
}
}
.edui-default
.edui-toolbar
.edui-combox-body
.edui-splitborder
{
.edui-default
.edui-toolbar
.edui-combox-body
.edui-splitborder
{
display
:
none
;
display
:
none
;
}
}
.edui-default
.edui-toolbar
.edui-combox-body
.edui-arrow
{
.edui-default
.edui-toolbar
.edui-combox-body
.edui-arrow
{
border-left
:
1px
solid
#CCC
;
border-left
:
1px
solid
#CCC
;
}
}
.edui-default
.edui-toolbar
.edui-state-hover
.edui-combox-body
{
.edui-default
.edui-toolbar
.edui-state-hover
.edui-combox-body
{
background-color
:
#fff5d4
;
background-color
:
#fff5d4
;
border
:
1px
solid
#dcac6c
;
border
:
1px
solid
#dcac6c
;
}
}
.edui-default
.edui-toolbar
.edui-state-hover
.edui-combox-body
.edui-arrow
{
.edui-default
.edui-toolbar
.edui-state-hover
.edui-combox-body
.edui-arrow
{
border-left
:
1px
solid
#dcac6c
;
border-left
:
1px
solid
#dcac6c
;
}
}
.edui-default
.edui-toolbar
.edui-state-checked
.edui-combox-body
{
.edui-default
.edui-toolbar
.edui-state-checked
.edui-combox-body
{
background-color
:
#FFE69F
;
background-color
:
#FFE69F
;
border
:
1px
solid
#DCAC6C
;
border
:
1px
solid
#DCAC6C
;
}
}
.edui-toolbar
.edui-state-checked
.edui-combox-body
.edui-arrow
{
.edui-toolbar
.edui-state-checked
.edui-combox-body
.edui-arrow
{
border-left
:
1px
solid
#DCAC6C
;
border-left
:
1px
solid
#DCAC6C
;
}
}
.edui-toolbar
.edui-state-disabled
.edui-combox-body
{
.edui-toolbar
.edui-state-disabled
.edui-combox-body
{
background-color
:
#F0F0EE
;
background-color
:
#F0F0EE
;
opacity
:
0.3
;
opacity
:
0.3
;
filter
:
alpha
(
opacity
=
30
);
filter
:
alpha
(
opacity
=
30
);
}
}
.edui-toolbar
.edui-state-opened
.edui-combox-body
{
.edui-toolbar
.edui-state-opened
.edui-combox-body
{
background-color
:
white
;
background-color
:
white
;
border
:
1px
solid
gray
;
border
:
1px
solid
gray
;
}
}
/*普通按钮样式及状态*/
/*普通按钮样式及状态*/
.edui-default
.edui-toolbar
.edui-button
.edui-icon
,
.edui-default
.edui-toolbar
.edui-button
.edui-icon
,
.edui-default
.edui-toolbar
.edui-menubutton
.edui-icon
,
.edui-default
.edui-toolbar
.edui-menubutton
.edui-icon
,
.edui-default
.edui-toolbar
.edui-splitbutton
.edui-icon
{
.edui-default
.edui-toolbar
.edui-splitbutton
.edui-icon
{
height
:
20px
!important
;
height
:
20px
!important
;
width
:
20px
!important
;
width
:
20px
!important
;
background-image
:
url(../images/icons.png)
;
background-image
:
url(../images/icons.png)
;
background-image
:
url(../images/icons.gif)
\
9
;
background-image
:
url(../images/icons.gif)
\
9
;
}
}
.edui-default
.edui-toolbar
.edui-button
.edui-button-wrap
{
.edui-default
.edui-toolbar
.edui-button
.edui-button-wrap
{
padding
:
1px
;
padding
:
1px
;
position
:
relative
;
position
:
relative
;
}
}
.edui-default
.edui-toolbar
.edui-button
.edui-state-hover
.edui-button-wrap
{
.edui-default
.edui-toolbar
.edui-button
.edui-state-hover
.edui-button-wrap
{
background-color
:
#fff5d4
;
background-color
:
#fff5d4
;
padding
:
0
;
padding
:
0
;
border
:
1px
solid
#dcac6c
;
border
:
1px
solid
#dcac6c
;
}
}
.edui-default
.edui-toolbar
.edui-button
.edui-state-checked
.edui-button-wrap
{
.edui-default
.edui-toolbar
.edui-button
.edui-state-checked
.edui-button-wrap
{
background-color
:
#ffe69f
;
background-color
:
#ffe69f
;
padding
:
0
;
padding
:
0
;
border
:
1px
solid
#dcac6c
;
border
:
1px
solid
#dcac6c
;
border-radius
:
2px
;
border-radius
:
2px
;
-webkit-border-radius
:
2px
;
-webkit-border-radius
:
2px
;
-moz-border-radius
:
2px
;
-moz-border-radius
:
2px
;
}
}
.edui-default
.edui-toolbar
.edui-button
.edui-state-active
.edui-button-wrap
{
.edui-default
.edui-toolbar
.edui-button
.edui-state-active
.edui-button-wrap
{
background-color
:
#ffffff
;
background-color
:
#ffffff
;
padding
:
0
;
padding
:
0
;
border
:
1px
solid
gray
;
border
:
1px
solid
gray
;
}
}
.edui-default
.edui-toolbar
.edui-state-disabled
.edui-label
{
.edui-default
.edui-toolbar
.edui-state-disabled
.edui-label
{
color
:
#ccc
;
color
:
#ccc
;
}
}
.edui-default
.edui-toolbar
.edui-state-disabled
.edui-icon
{
.edui-default
.edui-toolbar
.edui-state-disabled
.edui-icon
{
opacity
:
0.3
;
opacity
:
0.3
;
filter
:
alpha
(
opacity
=
30
);
filter
:
alpha
(
opacity
=
30
);
}
}
/* toolbar icons */
/* toolbar icons */
.edui-default
.edui-for-undo
.edui-icon
{
.edui-default
.edui-for-undo
.edui-icon
{
background-position
:
-160px
0
;
background-position
:
-160px
0
;
}
}
.edui-default
.edui-for-redo
.edui-icon
{
.edui-default
.edui-for-redo
.edui-icon
{
background-position
:
-100px
0
;
background-position
:
-100px
0
;
}
}
.edui-default
.edui-for-bold
.edui-icon
{
.edui-default
.edui-for-bold
.edui-icon
{
background-position
:
0
0
;
background-position
:
0
0
;
}
}
.edui-default
.edui-for-italic
.edui-icon
{
.edui-default
.edui-for-italic
.edui-icon
{
background-position
:
-60px
0
;
background-position
:
-60px
0
;
}
}
.edui-default
.edui-for-fontborder
.edui-icon
{
.edui-default
.edui-for-fontborder
.edui-icon
{
background-position
:
-160px
-40px
;
background-position
:
-160px
-40px
;
}
}
.edui-default
.edui-for-underline
.edui-icon
{
background-position
:
-140px
0
;
.edui-default
.edui-for-underline
.edui-icon
{
background-position
:
-140px
0
;
}
}
.edui-default
.edui-for-strikethrough
.edui-icon
{
.edui-default
.edui-for-strikethrough
.edui-icon
{
background-position
:
-120px
0
;
background-position
:
-120px
0
;
}
}
.edui-default
.edui-for-subscript
.edui-icon
{
.edui-default
.edui-for-subscript
.edui-icon
{
background-position
:
-600px
0
;
background-position
:
-600px
0
;
}
}
.edui-default
.edui-for-superscript
.edui-icon
{
.edui-default
.edui-for-superscript
.edui-icon
{
background-position
:
-620px
0
;
background-position
:
-620px
0
;
}
}
.edui-default
.edui-for-blockquote
.edui-icon
{
.edui-default
.edui-for-blockquote
.edui-icon
{
background-position
:
-220px
0
;
background-position
:
-220px
0
;
}
}
.edui-default
.edui-for-forecolor
.edui-icon
{
.edui-default
.edui-for-forecolor
.edui-icon
{
background-position
:
-720px
0
;
background-position
:
-720px
0
;
}
}
.edui-default
.edui-for-backcolor
.edui-icon
{
.edui-default
.edui-for-backcolor
.edui-icon
{
background-position
:
-760px
0
;
background-position
:
-760px
0
;
}
}
.edui-default
.edui-for-inserttable
.edui-icon
{
.edui-default
.edui-for-inserttable
.edui-icon
{
background-position
:
-580px
-20px
;
background-position
:
-580px
-20px
;
}
}
.edui-default
.edui-for-autotypeset
.edui-icon
{
.edui-default
.edui-for-autotypeset
.edui-icon
{
background-position
:
-640px
-40px
;
background-position
:
-640px
-40px
;
}
}
.edui-default
.edui-for-justifyleft
.edui-icon
{
.edui-default
.edui-for-justifyleft
.edui-icon
{
background-position
:
-460px
0
;
background-position
:
-460px
0
;
}
}
.edui-default
.edui-for-justifycenter
.edui-icon
{
.edui-default
.edui-for-justifycenter
.edui-icon
{
background-position
:
-420px
0
;
background-position
:
-420px
0
;
}
}
.edui-default
.edui-for-justifyright
.edui-icon
{
.edui-default
.edui-for-justifyright
.edui-icon
{
background-position
:
-480px
0
;
background-position
:
-480px
0
;
}
}
.edui-default
.edui-for-justifyjustify
.edui-icon
{
.edui-default
.edui-for-justifyjustify
.edui-icon
{
background-position
:
-440px
0
;
background-position
:
-440px
0
;
}
}
.edui-default
.edui-for-insertorderedlist
.edui-icon
{
.edui-default
.edui-for-insertorderedlist
.edui-icon
{
background-position
:
-80px
0
;
background-position
:
-80px
0
;
}
}
.edui-default
.edui-for-insertunorderedlist
.edui-icon
{
.edui-default
.edui-for-insertunorderedlist
.edui-icon
{
background-position
:
-20px
0
;
background-position
:
-20px
0
;
}
}
.edui-default
.edui-for-lineheight
.edui-icon
{
.edui-default
.edui-for-lineheight
.edui-icon
{
background-position
:
-725px
-40px
;
background-position
:
-725px
-40px
;
}
}
.edui-default
.edui-for-rowspacingbottom
.edui-icon
{
.edui-default
.edui-for-rowspacingbottom
.edui-icon
{
background-position
:
-745px
-40px
;
background-position
:
-745px
-40px
;
}
}
.edui-default
.edui-for-rowspacingtop
.edui-icon
{
.edui-default
.edui-for-rowspacingtop
.edui-icon
{
background-position
:
-765px
-40px
;
background-position
:
-765px
-40px
;
}
}
.edui-default
.edui-for-horizontal
.edui-icon
{
.edui-default
.edui-for-horizontal
.edui-icon
{
background-position
:
-360px
0
;
background-position
:
-360px
0
;
}
}
.edui-default
.edui-for-link
.edui-icon
{
.edui-default
.edui-for-link
.edui-icon
{
background-position
:
-500px
0
;
background-position
:
-500px
0
;
}
}
.edui-default
.edui-for-code
.edui-icon
{
.edui-default
.edui-for-code
.edui-icon
{
background-position
:
-440px
-40px
;
background-position
:
-440px
-40px
;
}
}
.edui-default
.edui-for-insertimage
.edui-icon
{
.edui-default
.edui-for-insertimage
.edui-icon
{
background-position
:
-726px
-77px
;
background-position
:
-726px
-77px
;
}
}
.edui-default
.edui-for-insertframe
.edui-icon
{
.edui-default
.edui-for-insertframe
.edui-icon
{
background-position
:
-240px
-40px
;
background-position
:
-240px
-40px
;
}
}
.edui-default
.edui-for-emoticon
.edui-icon
{
.edui-default
.edui-for-emoticon
.edui-icon
{
background-position
:
-60px
-20px
;
background-position
:
-60px
-20px
;
}
}
.edui-default
.edui-for-spechars
.edui-icon
{
.edui-default
.edui-for-spechars
.edui-icon
{
background-position
:
-240px
0
;
background-position
:
-240px
0
;
}
}
.edui-default
.edui-for-help
.edui-icon
{
.edui-default
.edui-for-help
.edui-icon
{
background-position
:
-340px
0
;
background-position
:
-340px
0
;
}
}
.edui-default
.edui-for-print
.edui-icon
{
.edui-default
.edui-for-print
.edui-icon
{
background-position
:
-440px
-20px
;
background-position
:
-440px
-20px
;
}
}
.edui-default
.edui-for-preview
.edui-icon
{
.edui-default
.edui-for-preview
.edui-icon
{
background-position
:
-420px
-20px
;
background-position
:
-420px
-20px
;
}
}
.edui-default
.edui-for-selectall
.edui-icon
{
.edui-default
.edui-for-selectall
.edui-icon
{
background-position
:
-400px
-20px
;
background-position
:
-400px
-20px
;
}
}
.edui-default
.edui-for-searchreplace
.edui-icon
{
.edui-default
.edui-for-searchreplace
.edui-icon
{
background-position
:
-520px
-20px
;
background-position
:
-520px
-20px
;
}
}
.edui-default
.edui-for-map
.edui-icon
{
.edui-default
.edui-for-map
.edui-icon
{
background-position
:
-40px
-40px
;
background-position
:
-40px
-40px
;
}
}
.edui-default
.edui-for-gmap
.edui-icon
{
.edui-default
.edui-for-gmap
.edui-icon
{
background-position
:
-260px
-40px
;
background-position
:
-260px
-40px
;
}
}
.edui-default
.edui-for-insertvideo
.edui-icon
{
.edui-default
.edui-for-insertvideo
.edui-icon
{
background-position
:
-320px
-20px
;
background-position
:
-320px
-20px
;
}
}
.edui-default
.edui-for-time
.edui-icon
{
.edui-default
.edui-for-time
.edui-icon
{
background-position
:
-160px
-20px
;
background-position
:
-160px
-20px
;
}
}
.edui-default
.edui-for-date
.edui-icon
{
.edui-default
.edui-for-date
.edui-icon
{
background-position
:
-140px
-20px
;
background-position
:
-140px
-20px
;
}
}
.edui-default
.edui-for-cut
.edui-icon
{
.edui-default
.edui-for-cut
.edui-icon
{
background-position
:
-680px
0
;
background-position
:
-680px
0
;
}
}
.edui-default
.edui-for-copy
.edui-icon
{
.edui-default
.edui-for-copy
.edui-icon
{
background-position
:
-700px
0
;
background-position
:
-700px
0
;
}
}
.edui-default
.edui-for-paste
.edui-icon
{
.edui-default
.edui-for-paste
.edui-icon
{
background-position
:
-560px
0
;
background-position
:
-560px
0
;
}
}
.edui-default
.edui-for-formatmatch
.edui-icon
{
.edui-default
.edui-for-formatmatch
.edui-icon
{
background-position
:
-40px
0
;
background-position
:
-40px
0
;
}
}
.edui-default
.edui-for-pasteplain
.edui-icon
{
.edui-default
.edui-for-pasteplain
.edui-icon
{
background-position
:
-360px
-20px
;
background-position
:
-360px
-20px
;
}
}
.edui-default
.edui-for-directionalityltr
.edui-icon
{
.edui-default
.edui-for-directionalityltr
.edui-icon
{
background-position
:
-20px
-20px
;
background-position
:
-20px
-20px
;
}
}
.edui-default
.edui-for-directionalityrtl
.edui-icon
{
.edui-default
.edui-for-directionalityrtl
.edui-icon
{
background-position
:
-40px
-20px
;
background-position
:
-40px
-20px
;
}
}
.edui-default
.edui-for-source
.edui-icon
{
.edui-default
.edui-for-source
.edui-icon
{
background-position
:
-261px
-0px
;
background-position
:
-261px
-0px
;
}
}
.edui-default
.edui-for-removeformat
.edui-icon
{
.edui-default
.edui-for-removeformat
.edui-icon
{
background-position
:
-580px
0
;
background-position
:
-580px
0
;
}
}
.edui-default
.edui-for-unlink
.edui-icon
{
.edui-default
.edui-for-unlink
.edui-icon
{
background-position
:
-640px
0
;
background-position
:
-640px
0
;
}
}
.edui-default
.edui-for-touppercase
.edui-icon
{
.edui-default
.edui-for-touppercase
.edui-icon
{
background-position
:
-786px
0
;
background-position
:
-786px
0
;
}
}
.edui-default
.edui-for-tolowercase
.edui-icon
{
.edui-default
.edui-for-tolowercase
.edui-icon
{
background-position
:
-806px
0
;
background-position
:
-806px
0
;
}
}
.edui-default
.edui-for-insertrow
.edui-icon
{
.edui-default
.edui-for-insertrow
.edui-icon
{
background-position
:
-478px
-76px
;
background-position
:
-478px
-76px
;
}
}
.edui-default
.edui-for-insertrownext
.edui-icon
{
.edui-default
.edui-for-insertrownext
.edui-icon
{
background-position
:
-498px
-76px
;
background-position
:
-498px
-76px
;
}
}
.edui-default
.edui-for-insertcol
.edui-icon
{
.edui-default
.edui-for-insertcol
.edui-icon
{
background-position
:
-455px
-76px
;
background-position
:
-455px
-76px
;
}
}
.edui-default
.edui-for-insertcolnext
.edui-icon
{
.edui-default
.edui-for-insertcolnext
.edui-icon
{
background-position
:
-429px
-76px
;
background-position
:
-429px
-76px
;
}
}
.edui-default
.edui-for-mergeright
.edui-icon
{
.edui-default
.edui-for-mergeright
.edui-icon
{
background-position
:
-60px
-40px
;
background-position
:
-60px
-40px
;
}
}
.edui-default
.edui-for-mergedown
.edui-icon
{
.edui-default
.edui-for-mergedown
.edui-icon
{
background-position
:
-80px
-40px
;
background-position
:
-80px
-40px
;
}
}
.edui-default
.edui-for-splittorows
.edui-icon
{
.edui-default
.edui-for-splittorows
.edui-icon
{
background-position
:
-100px
-40px
;
background-position
:
-100px
-40px
;
}
}
.edui-default
.edui-for-splittocols
.edui-icon
{
.edui-default
.edui-for-splittocols
.edui-icon
{
background-position
:
-120px
-40px
;
background-position
:
-120px
-40px
;
}
}
.edui-default
.edui-for-insertparagraphbeforetable
.edui-icon
{
.edui-default
.edui-for-insertparagraphbeforetable
.edui-icon
{
background-position
:
-140px
-40px
;
background-position
:
-140px
-40px
;
}
}
.edui-default
.edui-for-deleterow
.edui-icon
{
.edui-default
.edui-for-deleterow
.edui-icon
{
background-position
:
-660px
-20px
;
background-position
:
-660px
-20px
;
}
}
.edui-default
.edui-for-deletecol
.edui-icon
{
.edui-default
.edui-for-deletecol
.edui-icon
{
background-position
:
-640px
-20px
;
background-position
:
-640px
-20px
;
}
}
.edui-default
.edui-for-splittocells
.edui-icon
{
.edui-default
.edui-for-splittocells
.edui-icon
{
background-position
:
-800px
-20px
;
background-position
:
-800px
-20px
;
}
}
.edui-default
.edui-for-mergecells
.edui-icon
{
.edui-default
.edui-for-mergecells
.edui-icon
{
background-position
:
-760px
-20px
;
background-position
:
-760px
-20px
;
}
}
.edui-default
.edui-for-deletetable
.edui-icon
{
.edui-default
.edui-for-deletetable
.edui-icon
{
background-position
:
-620px
-20px
;
background-position
:
-620px
-20px
;
}
}
.edui-default
.edui-for-cleardoc
.edui-icon
{
.edui-default
.edui-for-cleardoc
.edui-icon
{
background-position
:
-520px
0
;
background-position
:
-520px
0
;
}
}
.edui-default
.edui-for-fullscreen
.edui-icon
{
.edui-default
.edui-for-fullscreen
.edui-icon
{
background-position
:
-100px
-20px
;
background-position
:
-100px
-20px
;
}
}
.edui-default
.edui-for-anchor
.edui-icon
{
.edui-default
.edui-for-anchor
.edui-icon
{
background-position
:
-200px
0
;
background-position
:
-200px
0
;
}
}
.edui-default
.edui-for-pagebreak
.edui-icon
{
.edui-default
.edui-for-pagebreak
.edui-icon
{
background-position
:
-460px
-40px
;
background-position
:
-460px
-40px
;
}
}
.edui-default
.edui-for-imagenone
.edui-icon
{
.edui-default
.edui-for-imagenone
.edui-icon
{
background-position
:
-480px
-40px
;
background-position
:
-480px
-40px
;
}
}
.edui-default
.edui-for-imageleft
.edui-icon
{
.edui-default
.edui-for-imageleft
.edui-icon
{
background-position
:
-500px
-40px
;
background-position
:
-500px
-40px
;
}
}
.edui-default
.edui-for-wordimage
.edui-icon
{
.edui-default
.edui-for-wordimage
.edui-icon
{
background-position
:
-660px
-40px
;
background-position
:
-660px
-40px
;
}
}
.edui-default
.edui-for-imageright
.edui-icon
{
.edui-default
.edui-for-imageright
.edui-icon
{
background-position
:
-520px
-40px
;
background-position
:
-520px
-40px
;
}
}
.edui-default
.edui-for-imagecenter
.edui-icon
{
.edui-default
.edui-for-imagecenter
.edui-icon
{
background-position
:
-540px
-40px
;
background-position
:
-540px
-40px
;
}
}
.edui-default
.edui-for-indent
.edui-icon
{
.edui-default
.edui-for-indent
.edui-icon
{
background-position
:
-400px
0
;
background-position
:
-400px
0
;
}
}
.edui-default
.edui-for-outdent
.edui-icon
{
.edui-default
.edui-for-outdent
.edui-icon
{
background-position
:
-540px
0
;
background-position
:
-540px
0
;
}
}
.edui-default
.edui-for-webapp
.edui-icon
{
.edui-default
.edui-for-webapp
.edui-icon
{
background-position
:
-601px
-40px
background-position
:
-601px
-40px
}
}
.edui-default
.edui-for-table
.edui-icon
{
.edui-default
.edui-for-table
.edui-icon
{
background-position
:
-580px
-20px
;
background-position
:
-580px
-20px
;
}
}
.edui-default
.edui-for-edittable
.edui-icon
{
.edui-default
.edui-for-edittable
.edui-icon
{
background-position
:
-420px
-40px
;
background-position
:
-420px
-40px
;
}
}
.edui-default
.edui-for-template
.edui-icon
{
.edui-default
.edui-for-template
.edui-icon
{
background-position
:
-339px
-40px
;
background-position
:
-339px
-40px
;
}
}
.edui-default
.edui-for-delete
.edui-icon
{
.edui-default
.edui-for-delete
.edui-icon
{
background-position
:
-360px
-40px
;
background-position
:
-360px
-40px
;
}
}
.edui-default
.edui-for-attachment
.edui-icon
{
.edui-default
.edui-for-attachment
.edui-icon
{
background-position
:
-620px
-40px
;
background-position
:
-620px
-40px
;
}
}
.edui-default
.edui-for-edittd
.edui-icon
{
.edui-default
.edui-for-edittd
.edui-icon
{
background-position
:
-700px
-40px
;
background-position
:
-700px
-40px
;
}
}
.edui-default
.edui-for-snapscreen
.edui-icon
{
.edui-default
.edui-for-snapscreen
.edui-icon
{
background-position
:
-581px
-40px
background-position
:
-581px
-40px
}
}
.edui-default
.edui-for-scrawl
.edui-icon
{
.edui-default
.edui-for-scrawl
.edui-icon
{
background-position
:
-801px
-41px
background-position
:
-801px
-41px
}
}
.edui-default
.edui-for-background
.edui-icon
{
.edui-default
.edui-for-background
.edui-icon
{
background-position
:
-680px
-40px
;
background-position
:
-680px
-40px
;
}
}
.edui-default
.edui-for-music
.edui-icon
{
.edui-default
.edui-for-music
.edui-icon
{
background-position
:
-18px
-40px
background-position
:
-18px
-40px
}
}
.edui-default
.edui-for-formula
.edui-icon
{
.edui-default
.edui-for-formula
.edui-icon
{
background-position
:
-200px
-40px
background-position
:
-200px
-40px
}
}
.edui-default
.edui-for-aligntd
.edui-icon
{
.edui-default
.edui-for-aligntd
.edui-icon
{
background-position
:
-236px
-76px
;
background-position
:
-236px
-76px
;
}
}
.edui-default
.edui-for-insertparagraphtrue
.edui-icon
{
.edui-default
.edui-for-insertparagraphtrue
.edui-icon
{
background-position
:
-625px
-76px
;
background-position
:
-625px
-76px
;
}
}
.edui-default
.edui-for-insertparagraph
.edui-icon
{
.edui-default
.edui-for-insertparagraph
.edui-icon
{
background-position
:
-602px
-76px
;
background-position
:
-602px
-76px
;
}
}
.edui-default
.edui-for-insertcaption
.edui-icon
{
.edui-default
.edui-for-insertcaption
.edui-icon
{
background-position
:
-336px
-76px
;
background-position
:
-336px
-76px
;
}
}
.edui-default
.edui-for-deletecaption
.edui-icon
{
.edui-default
.edui-for-deletecaption
.edui-icon
{
background-position
:
-362px
-76px
;
background-position
:
-362px
-76px
;
}
}
.edui-default
.edui-for-inserttitle
.edui-icon
{
.edui-default
.edui-for-inserttitle
.edui-icon
{
background-position
:
-286px
-76px
;
background-position
:
-286px
-76px
;
}
}
.edui-default
.edui-for-deletetitle
.edui-icon
{
.edui-default
.edui-for-deletetitle
.edui-icon
{
background-position
:
-311px
-76px
;
background-position
:
-311px
-76px
;
}
}
.edui-default
.edui-for-aligntable
.edui-icon
{
.edui-default
.edui-for-aligntable
.edui-icon
{
background-position
:
-440px
0
;
background-position
:
-440px
0
;
}
}
.edui-default
.edui-for-tablealignment-left
.edui-icon
{
.edui-default
.edui-for-tablealignment-left
.edui-icon
{
background-position
:
-460px
0
;
background-position
:
-460px
0
;
}
}
.edui-default
.edui-for-tablealignment-center
.edui-icon
{
.edui-default
.edui-for-tablealignment-center
.edui-icon
{
background-position
:
-420px
0
;
background-position
:
-420px
0
;
}
}
.edui-default
.edui-for-tablealignment-right
.edui-icon
{
.edui-default
.edui-for-tablealignment-right
.edui-icon
{
background-position
:
-480px
0
;
background-position
:
-480px
0
;
}
}
.edui-default
.edui-for-drafts
.edui-icon
{
.edui-default
.edui-for-drafts
.edui-icon
{
background-position
:
-560px
0
;
background-position
:
-560px
0
;
}
}
.edui-default
.edui-for-charts
.edui-icon
{
.edui-default
.edui-for-charts
.edui-icon
{
background
:
url( ../images/charts.png )
no-repeat
2px
3px
!important
;
background
:
url(../images/charts.png )
no-repeat
2px
3px
!important
;
}
}
.edui-default
.edui-for-inserttitlecol
.edui-icon
{
.edui-default
.edui-for-inserttitlecol
.edui-icon
{
background-position
:
-673px
-76px
;
background-position
:
-673px
-76px
;
}
}
.edui-default
.edui-for-deletetitlecol
.edui-icon
{
.edui-default
.edui-for-deletetitlecol
.edui-icon
{
background-position
:
-698px
-76px
;
background-position
:
-698px
-76px
;
}
}
.edui-default
.edui-for-simpleupload
.edui-icon
{
.edui-default
.edui-for-simpleupload
.edui-icon
{
background-position
:
-380px
0px
;
background-position
:
-380px
0px
;
}
}
/*splitbutton*/
/*splitbutton*/
.edui-default
.edui-toolbar
.edui-splitbutton-body
.edui-arrow
,
.edui-default
.edui-toolbar
.edui-splitbutton-body
.edui-arrow
,
.edui-default
.edui-toolbar
.edui-menubutton-body
.edui-arrow
{
.edui-default
.edui-toolbar
.edui-menubutton-body
.edui-arrow
{
background
:
url(../images/icons.png)
-741px
0
;
background
:
url(../images/icons.png)
-741px
0
;
_background
:
url(../images/icons.gif)
-741px
0
;
_background
:
url(../images/icons.gif)
-741px
0
;
height
:
20px
;
height
:
20px
;
width
:
9px
;
width
:
9px
;
}
}
.edui-default
.edui-toolbar
.edui-splitbutton
.edui-splitbutton-body
,
.edui-default
.edui-toolbar
.edui-splitbutton
.edui-splitbutton-body
,
.edui-default
.edui-toolbar
.edui-menubutton
.edui-menubutton-body
{
.edui-default
.edui-toolbar
.edui-menubutton
.edui-menubutton-body
{
padding
:
1px
;
padding
:
1px
;
}
}
.edui-default
.edui-toolbar
.edui-splitborder
{
.edui-default
.edui-toolbar
.edui-splitborder
{
width
:
1px
;
width
:
1px
;
height
:
20px
;
height
:
20px
;
}
}
.edui-default
.edui-toolbar
.edui-state-hover
.edui-splitborder
{
.edui-default
.edui-toolbar
.edui-state-hover
.edui-splitborder
{
width
:
1px
;
width
:
1px
;
border-left
:
0px
solid
#dcac6c
;
border-left
:
0px
solid
#dcac6c
;
}
}
.edui-default
.edui-toolbar
.edui-state-active
.edui-splitborder
{
.edui-default
.edui-toolbar
.edui-state-active
.edui-splitborder
{
width
:
0
;
width
:
0
;
border-left
:
1px
solid
gray
;
border-left
:
1px
solid
gray
;
}
}
.edui-default
.edui-toolbar
.edui-state-opened
.edui-splitborder
{
.edui-default
.edui-toolbar
.edui-state-opened
.edui-splitborder
{
width
:
1px
;
width
:
1px
;
border
:
0
;
border
:
0
;
}
}
.edui-default
.edui-toolbar
.edui-splitbutton
.edui-state-hover
.edui-splitbutton-body
,
.edui-default
.edui-toolbar
.edui-splitbutton
.edui-state-hover
.edui-splitbutton-body
,
.edui-default
.edui-toolbar
.edui-menubutton
.edui-state-hover
.edui-menubutton-body
{
.edui-default
.edui-toolbar
.edui-menubutton
.edui-state-hover
.edui-menubutton-body
{
background-color
:
#fff5d4
;
background-color
:
#fff5d4
;
border
:
1px
solid
#dcac6c
;
border
:
1px
solid
#dcac6c
;
padding
:
0
;
padding
:
0
;
}
}
.edui-default
.edui-toolbar
.edui-splitbutton
.edui-state-checked
.edui-splitbutton-body
,
.edui-default
.edui-toolbar
.edui-splitbutton
.edui-state-checked
.edui-splitbutton-body
,
.edui-default
.edui-toolbar
.edui-menubutton
.edui-state-checked
.edui-menubutton-body
{
.edui-default
.edui-toolbar
.edui-menubutton
.edui-state-checked
.edui-menubutton-body
{
background-color
:
#FFE69F
;
background-color
:
#FFE69F
;
border
:
1px
solid
#DCAC6C
;
border
:
1px
solid
#DCAC6C
;
padding
:
0
;
padding
:
0
;
}
}
.edui-default
.edui-toolbar
.edui-splitbutton
.edui-state-active
.edui-splitbutton-body
,
.edui-default
.edui-toolbar
.edui-splitbutton
.edui-state-active
.edui-splitbutton-body
,
.edui-default
.edui-toolbar
.edui-menubutton
.edui-state-active
.edui-menubutton-body
{
.edui-default
.edui-toolbar
.edui-menubutton
.edui-state-active
.edui-menubutton-body
{
background-color
:
#ffffff
;
background-color
:
#ffffff
;
border
:
1px
solid
gray
;
border
:
1px
solid
gray
;
padding
:
0
;
padding
:
0
;
}
}
.edui-default
.edui-state-disabled
.edui-arrow
{
.edui-default
.edui-state-disabled
.edui-arrow
{
opacity
:
0.3
;
opacity
:
0.3
;
_filter
:
alpha
(
opacity
=
30
);
_filter
:
alpha
(
opacity
=
30
);
}
}
.edui-default
.edui-toolbar
.edui-splitbutton
.edui-state-opened
.edui-splitbutton-body
,
.edui-default
.edui-toolbar
.edui-splitbutton
.edui-state-opened
.edui-splitbutton-body
,
.edui-default
.edui-toolbar
.edui-menubutton
.edui-state-opened
.edui-menubutton-body
{
.edui-default
.edui-toolbar
.edui-menubutton
.edui-state-opened
.edui-menubutton-body
{
background-color
:
white
;
background-color
:
white
;
border
:
1px
solid
gray
;
border
:
1px
solid
gray
;
padding
:
0
;
padding
:
0
;
}
}
.edui-default
.edui-for-insertorderedlist
.edui-bordereraser
,
.edui-default
.edui-for-insertorderedlist
.edui-bordereraser
,
...
@@ -1023,7 +1045,7 @@ div.edui-box {
...
@@ -1023,7 +1045,7 @@ div.edui-box {
.edui-default
.edui-for-rowspacingtop
.edui-bordereraser
,
.edui-default
.edui-for-rowspacingtop
.edui-bordereraser
,
.edui-default
.edui-for-rowspacingbottom
.edui-bordereraser
,
.edui-default
.edui-for-rowspacingbottom
.edui-bordereraser
,
.edui-default
.edui-for-insertunorderedlist
.edui-bordereraser
{
.edui-default
.edui-for-insertunorderedlist
.edui-bordereraser
{
background-color
:
white
;
background-color
:
white
;
}
}
/* 解决嵌套导致的图标问题 */
/* 解决嵌套导致的图标问题 */
...
@@ -1032,882 +1054,923 @@ div.edui-box {
...
@@ -1032,882 +1054,923 @@ div.edui-box {
.edui-default
.edui-for-rowspacingtop
.edui-popup-body
.edui-icon
,
.edui-default
.edui-for-rowspacingtop
.edui-popup-body
.edui-icon
,
.edui-default
.edui-for-rowspacingbottom
.edui-popup-body
.edui-icon
,
.edui-default
.edui-for-rowspacingbottom
.edui-popup-body
.edui-icon
,
.edui-default
.edui-for-insertunorderedlist
.edui-popup-body
.edui-icon
{
.edui-default
.edui-for-insertunorderedlist
.edui-popup-body
.edui-icon
{
/*background-position: 0 -40px;*/
/*background-position: 0 -40px;*/
background-image
:
none
;
background-image
:
none
;
}
}
/* 弹出菜单 */
/* 弹出菜单 */
.edui-default
.edui-popup
{
.edui-default
.edui-popup
{
z-index
:
3000
!important
;
z-index
:
3000
!important
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
width
:
auto
;
width
:
auto
;
height
:
auto
;
height
:
auto
;
}
}
.edui-default
.edui-popup
.edui-shadow
{
.edui-default
.edui-popup
.edui-shadow
{
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
}
}
.edui-default
.edui-popup-content
{
.edui-default
.edui-popup-content
{
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.2
);
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.2
);
*
border-right-width
:
2px
;
*
border-right-width
:
2px
;
*
border-bottom-width
:
2px
;
*
border-bottom-width
:
2px
;
-webkit-border-radius
:
6px
;
-webkit-border-radius
:
6px
;
-moz-border-radius
:
6px
;
-moz-border-radius
:
6px
;
border-radius
:
6px
;
border-radius
:
6px
;
-webkit-box-shadow
:
0
3px
4px
rgba
(
0
,
0
,
0
,
0.2
);
-webkit-box-shadow
:
0
3px
4px
rgba
(
0
,
0
,
0
,
0.2
);
-moz-box-shadow
:
0
3px
4px
rgba
(
0
,
0
,
0
,
0.2
);
-moz-box-shadow
:
0
3px
4px
rgba
(
0
,
0
,
0
,
0.2
);
box-shadow
:
0
3px
4px
rgba
(
0
,
0
,
0
,
0.2
);
box-shadow
:
0
3px
4px
rgba
(
0
,
0
,
0
,
0.2
);
-webkit-background-clip
:
padding-box
;
-webkit-background-clip
:
padding-box
;
-moz-background-clip
:
padding
;
-moz-background-clip
:
padding
;
background-clip
:
padding-box
;
background-clip
:
padding-box
;
padding
:
5px
;
padding
:
5px
;
background
:
#ffffff
;
background
:
#ffffff
;
}
}
.edui-default
.edui-popup
.edui-bordereraser
{
.edui-default
.edui-popup
.edui-bordereraser
{
background-color
:
white
;
background-color
:
white
;
height
:
3px
;
height
:
3px
;
}
}
.edui-default
.edui-menu
.edui-bordereraser
{
.edui-default
.edui-menu
.edui-bordereraser
{
height
:
3px
;
height
:
3px
;
}
}
.edui-default
.edui-anchor-topleft
.edui-bordereraser
{
.edui-default
.edui-anchor-topleft
.edui-bordereraser
{
left
:
1px
;
left
:
1px
;
top
:
-2px
;
top
:
-2px
;
}
}
.edui-default
.edui-anchor-topright
.edui-bordereraser
{
.edui-default
.edui-anchor-topright
.edui-bordereraser
{
right
:
1px
;
right
:
1px
;
top
:
-2px
;
top
:
-2px
;
}
}
.edui-default
.edui-anchor-bottomleft
.edui-bordereraser
{
.edui-default
.edui-anchor-bottomleft
.edui-bordereraser
{
left
:
0
;
left
:
0
;
bottom
:
-6px
;
bottom
:
-6px
;
height
:
7px
;
height
:
7px
;
border-left
:
1px
solid
gray
;
border-left
:
1px
solid
gray
;
border-right
:
1px
solid
gray
;
border-right
:
1px
solid
gray
;
}
}
.edui-default
.edui-anchor-bottomright
.edui-bordereraser
{
.edui-default
.edui-anchor-bottomright
.edui-bordereraser
{
right
:
0
;
right
:
0
;
bottom
:
-6px
;
bottom
:
-6px
;
height
:
7px
;
height
:
7px
;
border-left
:
1px
solid
gray
;
border-left
:
1px
solid
gray
;
border-right
:
1px
solid
gray
;
border-right
:
1px
solid
gray
;
}
}
.edui-popup
div
{
.edui-popup
div
{
width
:
auto
;
width
:
auto
;
height
:
auto
;
height
:
auto
;
}
}
.edui-default
.edui-editor-messageholder
{
.edui-default
.edui-editor-messageholder
{
display
:
block
;
display
:
block
;
width
:
150px
;
width
:
150px
;
height
:
auto
;
height
:
auto
;
border
:
0
;
border
:
0
;
margin
:
0
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
position
:
absolute
;
position
:
absolute
;
top
:
28px
;
top
:
28px
;
right
:
3px
;
right
:
3px
;
}
}
.edui-default
.edui-message
{
.edui-default
.edui-message
{
min-height
:
10px
;
min-height
:
10px
;
text-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0.5
);
text-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0.5
);
padding
:
0
;
padding
:
0
;
margin-bottom
:
3px
;
margin-bottom
:
3px
;
position
:
relative
;
position
:
relative
;
}
}
.edui-default
.edui-message-body
{
border-radius
:
3px
;
.edui-default
.edui-message-body
{
padding
:
8px
15px
8px
8px
;
border-radius
:
3px
;
color
:
#c09853
;
padding
:
8px
15px
8px
8px
;
background-color
:
#fcf8e3
;
color
:
#c09853
;
border
:
1px
solid
#fbeed5
;
background-color
:
#fcf8e3
;
}
border
:
1px
solid
#fbeed5
;
.edui-default
.edui-message-type-info
{
color
:
#3a87ad
;
background-color
:
#d9edf7
;
border-color
:
#bce8f1
}
.edui-default
.edui-message-type-success
{
color
:
#468847
;
background-color
:
#dff0d8
;
border-color
:
#d6e9c6
}
}
.edui-default
.edui-message-type-info
{
color
:
#3a87ad
;
background-color
:
#d9edf7
;
border-color
:
#bce8f1
}
.edui-default
.edui-message-type-success
{
color
:
#468847
;
background-color
:
#dff0d8
;
border-color
:
#d6e9c6
}
.edui-default
.edui-message-type-danger
,
.edui-default
.edui-message-type-danger
,
.edui-default
.edui-message-type-error
{
.edui-default
.edui-message-type-error
{
color
:
#b94a48
;
color
:
#b94a48
;
background-color
:
#f2dede
;
background-color
:
#f2dede
;
border-color
:
#eed3d7
border-color
:
#eed3d7
}
}
.edui-default
.edui-message
.edui-message-closer
{
.edui-default
.edui-message
.edui-message-closer
{
display
:
block
;
display
:
block
;
width
:
16px
;
width
:
16px
;
height
:
16px
;
height
:
16px
;
line-height
:
16px
;
line-height
:
16px
;
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
right
:
0
;
right
:
0
;
padding
:
0
;
padding
:
0
;
cursor
:
pointer
;
cursor
:
pointer
;
background
:
transparent
;
background
:
transparent
;
border
:
0
;
border
:
0
;
float
:
right
;
float
:
right
;
font-size
:
20px
;
font-size
:
20px
;
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#999
;
color
:
#999
;
text-shadow
:
0
1px
0
#fff
;
text-shadow
:
0
1px
0
#fff
;
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
}
}
.edui-default
.edui-message
.edui-message-content
{
.edui-default
.edui-message
.edui-message-content
{
font-size
:
10pt
;
font-size
:
10pt
;
word-wrap
:
break-word
;
word-wrap
:
break-word
;
word-break
:
normal
;
word-break
:
normal
;
}
}
/* 弹出对话框按钮和对话框大小 */
/* 弹出对话框按钮和对话框大小 */
.edui-default
.edui-dialog
{
.edui-default
.edui-dialog
{
z-index
:
3000
!important
;
z-index
:
3000
!important
;
visibility
:
visible
;
visibility
:
visible
;
position
:
absolute
;
position
:
absolute
;
}
}
.edui-dialog
div
{
.edui-dialog
div
{
width
:
auto
;
width
:
auto
;
}
}
.edui-default
.edui-dialog-wrap
{
.edui-default
.edui-dialog-wrap
{
margin-right
:
6px
;
margin-right
:
6px
;
margin-bottom
:
6px
;
margin-bottom
:
6px
;
}
}
.edui-default
.edui-dialog-fullscreen-flag
{
.edui-default
.edui-dialog-fullscreen-flag
{
margin-right
:
0
;
margin-right
:
0
;
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
.edui-default
.edui-dialog-body
{
.edui-default
.edui-dialog-body
{
position
:
relative
;
position
:
relative
;
padding
:
2px
0
0
2px
;
padding
:
2px
0
0
2px
;
_zoom
:
1
;
_zoom
:
1
;
}
}
.edui-default
.edui-dialog-fullscreen-flag
.edui-dialog-body
{
.edui-default
.edui-dialog-fullscreen-flag
.edui-dialog-body
{
padding
:
0
;
padding
:
0
;
}
}
.edui-default
.edui-dialog-shadow
{
.edui-default
.edui-dialog-shadow
{
position
:
absolute
;
position
:
absolute
;
z-index
:
-1
;
z-index
:
-1
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.2
);
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.2
);
*
border-right-width
:
2px
;
*
border-right-width
:
2px
;
*
border-bottom-width
:
2px
;
*
border-bottom-width
:
2px
;
-webkit-border-radius
:
6px
;
-webkit-border-radius
:
6px
;
-moz-border-radius
:
6px
;
-moz-border-radius
:
6px
;
border-radius
:
6px
;
border-radius
:
6px
;
-webkit-box-shadow
:
0
5px
10px
rgba
(
0
,
0
,
0
,
0.2
);
-webkit-box-shadow
:
0
5px
10px
rgba
(
0
,
0
,
0
,
0.2
);
-moz-box-shadow
:
0
5px
10px
rgba
(
0
,
0
,
0
,
0.2
);
-moz-box-shadow
:
0
5px
10px
rgba
(
0
,
0
,
0
,
0.2
);
box-shadow
:
0
5px
10px
rgba
(
0
,
0
,
0
,
0.2
);
box-shadow
:
0
5px
10px
rgba
(
0
,
0
,
0
,
0.2
);
-webkit-background-clip
:
padding-box
;
-webkit-background-clip
:
padding-box
;
-moz-background-clip
:
padding
;
-moz-background-clip
:
padding
;
background-clip
:
padding-box
;
background-clip
:
padding-box
;
}
}
.edui-default
.edui-dialog-foot
{
.edui-default
.edui-dialog-foot
{
background-color
:
white
;
background-color
:
white
;
}
}
.edui-default
.edui-dialog-titlebar
{
.edui-default
.edui-dialog-titlebar
{
height
:
26px
;
height
:
26px
;
border-bottom
:
1px
solid
#c6c6c6
;
border-bottom
:
1px
solid
#c6c6c6
;
background
:
url(../images/dialog-title-bg.png)
repeat-x
bottom
;
background
:
url(../images/dialog-title-bg.png)
repeat-x
bottom
;
position
:
relative
;
position
:
relative
;
cursor
:
move
;
cursor
:
move
;
}
}
.edui-default
.edui-dialog-caption
{
.edui-default
.edui-dialog-caption
{
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
12px
;
font-size
:
12px
;
line-height
:
26px
;
line-height
:
26px
;
padding-left
:
5px
;
padding-left
:
5px
;
}
}
.edui-default
.edui-dialog-draghandle
{
.edui-default
.edui-dialog-draghandle
{
height
:
26px
;
height
:
26px
;
}
}
.edui-default
.edui-dialog-closebutton
{
.edui-default
.edui-dialog-closebutton
{
position
:
absolute
!important
;
position
:
absolute
!important
;
right
:
5px
;
right
:
5px
;
top
:
3px
;
top
:
3px
;
}
}
.edui-default
.edui-dialog-closebutton
.edui-button-body
{
.edui-default
.edui-dialog-closebutton
.edui-button-body
{
height
:
20px
;
height
:
20px
;
width
:
20px
;
width
:
20px
;
cursor
:
pointer
;
cursor
:
pointer
;
background
:
url("../images/icons-all.gif")
no-repeat
0
-59px
;
background
:
url("../images/icons-all.gif")
no-repeat
0
-59px
;
}
}
.edui-default
.edui-dialog-closebutton
.edui-state-hover
.edui-button-body
{
.edui-default
.edui-dialog-closebutton
.edui-state-hover
.edui-button-body
{
background
:
url("../images/icons-all.gif")
no-repeat
0
-89px
;
background
:
url("../images/icons-all.gif")
no-repeat
0
-89px
;
}
}
.edui-default
.edui-dialog-foot
{
.edui-default
.edui-dialog-foot
{
height
:
40px
;
height
:
40px
;
}
}
.edui-default
.edui-dialog-buttons
{
.edui-default
.edui-dialog-buttons
{
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
}
}
.edui-default
.edui-dialog-buttons
.edui-button
{
.edui-default
.edui-dialog-buttons
.edui-button
{
margin-right
:
10px
;
margin-right
:
10px
;
}
}
.edui-default
.edui-dialog-buttons
.edui-button
.edui-button-body
{
.edui-default
.edui-dialog-buttons
.edui-button
.edui-button-body
{
background
:
url("../images/icons-all.gif")
no-repeat
;
background
:
url("../images/icons-all.gif")
no-repeat
;
height
:
24px
;
height
:
24px
;
width
:
96px
;
width
:
96px
;
font-size
:
12px
;
font-size
:
12px
;
line-height
:
24px
;
line-height
:
24px
;
text-align
:
center
;
text-align
:
center
;
cursor
:
default
;
cursor
:
default
;
}
}
.edui-default
.edui-dialog-buttons
.edui-button
.edui-state-hover
.edui-button-body
{
.edui-default
.edui-dialog-buttons
.edui-button
.edui-state-hover
.edui-button-body
{
background
:
url("../images/icons-all.gif")
no-repeat
0
-30px
;
background
:
url("../images/icons-all.gif")
no-repeat
0
-30px
;
}
}
.edui-default
.edui-dialog
iframe
{
.edui-default
.edui-dialog
iframe
{
border
:
0
;
border
:
0
;
padding
:
0
;
padding
:
0
;
margin
:
0
;
margin
:
0
;
vertical-align
:
top
;
vertical-align
:
top
;
}
}
.edui-default
.edui-dialog-modalmask
{
.edui-default
.edui-dialog-modalmask
{
opacity
:
0.3
;
opacity
:
0.3
;
filter
:
alpha
(
opacity
=
30
);
filter
:
alpha
(
opacity
=
30
);
background-color
:
#ccc
;
background-color
:
#ccc
;
position
:
absolute
;
position
:
absolute
;
/*z-index: 1999;*/
/*z-index: 1999;*/
}
}
.edui-default
.edui-dialog-dragmask
{
.edui-default
.edui-dialog-dragmask
{
position
:
absolute
;
position
:
absolute
;
/*z-index: 2001;*/
/*z-index: 2001;*/
background-color
:
transparent
;
background-color
:
transparent
;
cursor
:
move
;
cursor
:
move
;
}
}
.edui-default
.edui-dialog-content
{
.edui-default
.edui-dialog-content
{
position
:
relative
;
position
:
relative
;
}
}
.edui-default
.dialogcontmask
{
.edui-default
.dialogcontmask
{
cursor
:
move
;
cursor
:
move
;
visibility
:
hidden
;
visibility
:
hidden
;
display
:
block
;
display
:
block
;
position
:
absolute
;
position
:
absolute
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
opacity
:
0
;
opacity
:
0
;
filter
:
alpha
(
opacity
=
0
);
filter
:
alpha
(
opacity
=
0
);
}
}
/*link-dialog*/
/*link-dialog*/
.edui-default
.edui-for-link
.edui-dialog-content
{
.edui-default
.edui-for-link
.edui-dialog-content
{
width
:
420px
;
width
:
420px
;
height
:
200px
;
height
:
200px
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
/*background-dialog*/
/*background-dialog*/
.edui-default
.edui-for-background
.edui-dialog-content
{
.edui-default
.edui-for-background
.edui-dialog-content
{
width
:
440px
;
width
:
440px
;
height
:
280px
;
height
:
280px
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
/*template-dialog*/
/*template-dialog*/
.edui-default
.edui-for-template
.edui-dialog-content
{
.edui-default
.edui-for-template
.edui-dialog-content
{
width
:
630px
;
width
:
630px
;
height
:
390px
;
height
:
390px
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
/*scrawl-dialog*/
/*scrawl-dialog*/
.edui-default
.edui-for-scrawl
.edui-dialog-content
{
.edui-default
.edui-for-scrawl
.edui-dialog-content
{
width
:
515px
;
width
:
515px
;
*
width
:
506px
;
*
width
:
506px
;
height
:
360px
;
height
:
360px
;
}
}
/*spechars-dialog*/
/*spechars-dialog*/
.edui-default
.edui-for-spechars
.edui-dialog-content
{
.edui-default
.edui-for-spechars
.edui-dialog-content
{
width
:
620px
;
width
:
620px
;
height
:
500px
;
height
:
500px
;
*
width
:
630px
;
*
width
:
630px
;
*
height
:
570px
;
*
height
:
570px
;
}
}
/*image-dialog*/
/*image-dialog*/
.edui-default
.edui-for-insertimage
.edui-dialog-content
{
.edui-default
.edui-for-insertimage
.edui-dialog-content
{
width
:
650px
;
width
:
650px
;
height
:
400px
;
height
:
400px
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
/*webapp-dialog*/
/*webapp-dialog*/
.edui-default
.edui-for-webapp
.edui-dialog-content
{
.edui-default
.edui-for-webapp
.edui-dialog-content
{
width
:
560px
;
width
:
560px
;
_width
:
565px
;
_width
:
565px
;
height
:
450px
;
height
:
450px
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
/*image-insertframe*/
/*image-insertframe*/
.edui-default
.edui-for-insertframe
.edui-dialog-content
{
.edui-default
.edui-for-insertframe
.edui-dialog-content
{
width
:
350px
;
width
:
350px
;
height
:
200px
;
height
:
200px
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
/*wordImage-dialog*/
/*wordImage-dialog*/
.edui-default
.edui-for-wordimage
.edui-dialog-content
{
.edui-default
.edui-for-wordimage
.edui-dialog-content
{
width
:
620px
;
width
:
620px
;
height
:
380px
;
height
:
380px
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
/*attachment-dialog*/
/*attachment-dialog*/
.edui-default
.edui-for-attachment
.edui-dialog-content
{
.edui-default
.edui-for-attachment
.edui-dialog-content
{
width
:
650px
;
width
:
650px
;
height
:
400px
;
height
:
400px
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
/*map-dialog*/
/*map-dialog*/
.edui-default
.edui-for-map
.edui-dialog-content
{
.edui-default
.edui-for-map
.edui-dialog-content
{
width
:
550px
;
width
:
550px
;
height
:
400px
;
height
:
400px
;
}
}
/*gmap-dialog*/
/*gmap-dialog*/
.edui-default
.edui-for-gmap
.edui-dialog-content
{
.edui-default
.edui-for-gmap
.edui-dialog-content
{
width
:
550px
;
width
:
550px
;
height
:
400px
;
height
:
400px
;
}
}
/*video-dialog*/
/*video-dialog*/
.edui-default
.edui-for-insertvideo
.edui-dialog-content
{
.edui-default
.edui-for-insertvideo
.edui-dialog-content
{
width
:
590px
;
width
:
590px
;
height
:
390px
;
height
:
390px
;
}
}
/*anchor-dialog*/
/*anchor-dialog*/
.edui-default
.edui-for-anchor
.edui-dialog-content
{
.edui-default
.edui-for-anchor
.edui-dialog-content
{
width
:
320px
;
width
:
320px
;
height
:
60px
;
height
:
60px
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
/*searchreplace-dialog*/
/*searchreplace-dialog*/
.edui-default
.edui-for-searchreplace
.edui-dialog-content
{
.edui-default
.edui-for-searchreplace
.edui-dialog-content
{
width
:
400px
;
width
:
400px
;
height
:
220px
;
height
:
220px
;
}
}
/*help-dialog*/
/*help-dialog*/
.edui-default
.edui-for-help
.edui-dialog-content
{
.edui-default
.edui-for-help
.edui-dialog-content
{
width
:
400px
;
width
:
400px
;
height
:
420px
;
height
:
420px
;
}
}
/*edittable-dialog*/
/*edittable-dialog*/
.edui-default
.edui-for-edittable
.edui-dialog-content
{
.edui-default
.edui-for-edittable
.edui-dialog-content
{
width
:
540px
;
width
:
540px
;
_width
:
590px
;
_width
:
590px
;
height
:
335px
;
height
:
335px
;
}
}
/*edittip-dialog*/
/*edittip-dialog*/
.edui-default
.edui-for-edittip
.edui-dialog-content
{
.edui-default
.edui-for-edittip
.edui-dialog-content
{
width
:
225px
;
width
:
225px
;
height
:
60px
;
height
:
60px
;
}
}
/*edittd-dialog*/
/*edittd-dialog*/
.edui-default
.edui-for-edittd
.edui-dialog-content
{
.edui-default
.edui-for-edittd
.edui-dialog-content
{
width
:
240px
;
width
:
240px
;
height
:
50px
;
height
:
50px
;
}
}
/*snapscreen-dialog*/
/*snapscreen-dialog*/
.edui-default
.edui-for-snapscreen
.edui-dialog-content
{
.edui-default
.edui-for-snapscreen
.edui-dialog-content
{
width
:
400px
;
width
:
400px
;
height
:
220px
;
height
:
220px
;
}
}
/*music-dialog*/
/*music-dialog*/
.edui-default
.edui-for-music
.edui-dialog-content
{
.edui-default
.edui-for-music
.edui-dialog-content
{
width
:
515px
;
width
:
515px
;
height
:
360px
;
height
:
360px
;
}
}
/*段落弹出菜单*/
/*段落弹出菜单*/
.edui-default
.edui-for-paragraph
.edui-listitem-label
{
.edui-default
.edui-for-paragraph
.edui-listitem-label
{
font-family
:
Tahoma
,
Verdana
,
Arial
,
Helvetica
;
font-family
:
Tahoma
,
Verdana
,
Arial
,
Helvetica
;
}
}
.edui-default
.edui-for-paragraph
.edui-listitem-label
.edui-for-p
{
.edui-default
.edui-for-paragraph
.edui-listitem-label
.edui-for-p
{
font-size
:
22px
;
font-size
:
22px
;
line-height
:
27px
;
line-height
:
27px
;
}
}
.edui-default
.edui-for-paragraph
.edui-listitem-label
.edui-for-h1
{
.edui-default
.edui-for-paragraph
.edui-listitem-label
.edui-for-h1
{
font-weight
:
bolder
;
font-weight
:
bolder
;
font-size
:
32px
;
font-size
:
32px
;
line-height
:
36px
;
line-height
:
36px
;
}
}
.edui-default
.edui-for-paragraph
.edui-listitem-label
.edui-for-h2
{
.edui-default
.edui-for-paragraph
.edui-listitem-label
.edui-for-h2
{
font-weight
:
bolder
;
font-weight
:
bolder
;
font-size
:
27px
;
font-size
:
27px
;
line-height
:
29px
;
line-height
:
29px
;
}
}
.edui-default
.edui-for-paragraph
.edui-listitem-label
.edui-for-h3
{
.edui-default
.edui-for-paragraph
.edui-listitem-label
.edui-for-h3
{
font-weight
:
bolder
;
font-weight
:
bolder
;
font-size
:
19px
;
font-size
:
19px
;
line-height
:
23px
;
line-height
:
23px
;
}
}
.edui-default
.edui-for-paragraph
.edui-listitem-label
.edui-for-h4
{
.edui-default
.edui-for-paragraph
.edui-listitem-label
.edui-for-h4
{
font-weight
:
bolder
;
font-weight
:
bolder
;
font-size
:
16px
;
font-size
:
16px
;
line-height
:
19px
line-height
:
19px
}
}
.edui-default
.edui-for-paragraph
.edui-listitem-label
.edui-for-h5
{
.edui-default
.edui-for-paragraph
.edui-listitem-label
.edui-for-h5
{
font-weight
:
bolder
;
font-weight
:
bolder
;
font-size
:
13px
;
font-size
:
13px
;
line-height
:
16px
;
line-height
:
16px
;
}
}
.edui-default
.edui-for-paragraph
.edui-listitem-label
.edui-for-h6
{
.edui-default
.edui-for-paragraph
.edui-listitem-label
.edui-for-h6
{
font-weight
:
bolder
;
font-weight
:
bolder
;
font-size
:
12px
;
font-size
:
12px
;
line-height
:
14px
;
line-height
:
14px
;
}
}
/* 表格弹出菜单 */
/* 表格弹出菜单 */
.edui-default
.edui-for-inserttable
.edui-splitborder
{
.edui-default
.edui-for-inserttable
.edui-splitborder
{
display
:
none
display
:
none
}
}
.edui-default
.edui-for-inserttable
.edui-splitbutton-body
.edui-arrow
{
width
:
0
.edui-default
.edui-for-inserttable
.edui-splitbutton-body
.edui-arrow
{
width
:
0
}
}
.edui-default
.edui-toolbar
.edui-for-inserttable
.edui-state-active
.edui-splitborder
{
border-left
:
1px
solid
transparent
;
.edui-default
.edui-toolbar
.edui-for-inserttable
.edui-state-active
.edui-splitborder
{
border-left
:
1px
solid
transparent
;
}
}
.edui-default
.edui-tablepicker
.edui-infoarea
{
.edui-default
.edui-tablepicker
.edui-infoarea
{
height
:
14px
;
height
:
14px
;
line-height
:
14px
;
line-height
:
14px
;
font-size
:
12px
;
font-size
:
12px
;
width
:
220px
;
width
:
220px
;
margin-bottom
:
3px
;
margin-bottom
:
3px
;
clear
:
both
;
clear
:
both
;
}
}
.edui-default
.edui-tablepicker
.edui-infoarea
.edui-label
{
.edui-default
.edui-tablepicker
.edui-infoarea
.edui-label
{
float
:
left
;
float
:
left
;
}
}
.edui-default
.edui-dialog-buttons
.edui-label
{
.edui-default
.edui-dialog-buttons
.edui-label
{
line-height
:
24px
;
line-height
:
24px
;
}
}
.edui-default
.edui-tablepicker
.edui-infoarea
.edui-clickable
{
.edui-default
.edui-tablepicker
.edui-infoarea
.edui-clickable
{
float
:
right
;
float
:
right
;
}
}
.edui-default
.edui-tablepicker
.edui-pickarea
{
.edui-default
.edui-tablepicker
.edui-pickarea
{
background
:
url("../images/unhighlighted.gif")
repeat
;
background
:
url("../images/unhighlighted.gif")
repeat
;
height
:
220px
;
height
:
220px
;
width
:
220px
;
width
:
220px
;
}
}
.edui-default
.edui-tablepicker
.edui-pickarea
.edui-overlay
{
.edui-default
.edui-tablepicker
.edui-pickarea
.edui-overlay
{
background
:
url("../images/highlighted.gif")
repeat
;
background
:
url("../images/highlighted.gif")
repeat
;
}
}
/* 颜色弹出菜单 */
/* 颜色弹出菜单 */
.edui-default
.edui-colorpicker-topbar
{
.edui-default
.edui-colorpicker-topbar
{
height
:
27px
;
height
:
27px
;
width
:
200px
;
width
:
200px
;
/*border-bottom: 1px gray dashed;*/
/*border-bottom: 1px gray dashed;*/
}
}
.edui-default
.edui-colorpicker-preview
{
.edui-default
.edui-colorpicker-preview
{
height
:
20px
;
height
:
20px
;
border
:
1px
inset
black
;
border
:
1px
inset
black
;
margin-left
:
1px
;
margin-left
:
1px
;
width
:
128px
;
width
:
128px
;
float
:
left
;
float
:
left
;
}
}
.edui-default
.edui-colorpicker-nocolor
{
.edui-default
.edui-colorpicker-nocolor
{
float
:
right
;
float
:
right
;
margin-right
:
1px
;
margin-right
:
1px
;
font-size
:
12px
;
font-size
:
12px
;
line-height
:
14px
;
line-height
:
14px
;
height
:
14px
;
height
:
14px
;
border
:
1px
solid
#333
;
border
:
1px
solid
#333
;
padding
:
3px
5px
;
padding
:
3px
5px
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.edui-default
.edui-colorpicker-tablefirstrow
{
.edui-default
.edui-colorpicker-tablefirstrow
{
height
:
30px
;
height
:
30px
;
}
}
.edui-default
.edui-colorpicker-colorcell
{
.edui-default
.edui-colorpicker-colorcell
{
width
:
14px
;
width
:
14px
;
height
:
14px
;
height
:
14px
;
display
:
block
;
display
:
block
;
margin
:
0
;
margin
:
0
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.edui-default
.edui-colorpicker-colorcell
:hover
{
.edui-default
.edui-colorpicker-colorcell
:hover
{
width
:
14px
;
width
:
14px
;
height
:
14px
;
height
:
14px
;
margin
:
0
;
margin
:
0
;
}
}
.edui-default
.edui-colorpicker-advbtn
{
display
:
block
;
.edui-default
.edui-colorpicker-advbtn
{
text-align
:
center
;
display
:
block
;
cursor
:
pointer
;
text-align
:
center
;
height
:
20px
;
cursor
:
pointer
;
height
:
20px
;
}
}
.arrow_down
{
background
:
white
url('../images/arrow_down.png')
no-repeat
center
;
.arrow_down
{
background
:
white
url('../images/arrow_down.png')
no-repeat
center
;
}
}
.arrow_up
{
background
:
white
url('../images/arrow_up.png')
no-repeat
center
;
.arrow_up
{
background
:
white
url('../images/arrow_up.png')
no-repeat
center
;
}
}
/*高级的样式*/
/*高级的样式*/
.edui-colorpicker-adv
{
.edui-colorpicker-adv
{
position
:
relative
;
position
:
relative
;
overflow
:
hidden
;
overflow
:
hidden
;
height
:
180px
;
height
:
180px
;
display
:
none
;
display
:
none
;
}
}
.edui-colorpicker-plant
,
.edui-colorpicker-hue
{
border
:
solid
1px
#666
;
.edui-colorpicker-plant
,
.edui-colorpicker-hue
{
border
:
solid
1px
#666
;
}
}
.edui-colorpicker-pad
{
.edui-colorpicker-pad
{
width
:
150px
;
width
:
150px
;
height
:
150px
;
height
:
150px
;
left
:
14px
;
left
:
14px
;
top
:
13px
;
top
:
13px
;
position
:
absolute
;
position
:
absolute
;
background
:
red
;
background
:
red
;
overflow
:
hidden
;
overflow
:
hidden
;
cursor
:
crosshair
;
cursor
:
crosshair
;
}
}
.edui-colorpicker-cover
{
position
:
absolute
;
.edui-colorpicker-cover
{
top
:
0
;
position
:
absolute
;
left
:
0
;
top
:
0
;
width
:
150px
;
left
:
0
;
height
:
150px
;
width
:
150px
;
background
:
url("../images/tangram-colorpicker.png")
-160px
-200px
;
height
:
150px
;
}
background
:
url("../images/tangram-colorpicker.png")
-160px
-200px
;
.edui-colorpicker-padDot
{
}
position
:
absolute
;
top
:
0
;
.edui-colorpicker-padDot
{
left
:
0
;
position
:
absolute
;
width
:
11px
;
top
:
0
;
height
:
11px
;
left
:
0
;
overflow
:
hidden
;
width
:
11px
;
background
:
url(../images/tangram-colorpicker.png)
0px
-200px
repeat-x
;
height
:
11px
;
z-index
:
1000
;
overflow
:
hidden
;
background
:
url(../images/tangram-colorpicker.png)
0px
-200px
repeat-x
;
z-index
:
1000
;
}
}
.edui-colorpicker-sliderMain
{
.edui-colorpicker-sliderMain
{
position
:
absolute
;
position
:
absolute
;
left
:
171px
;
left
:
171px
;
top
:
13px
;
top
:
13px
;
width
:
19px
;
width
:
19px
;
height
:
152px
;
height
:
152px
;
background
:
url(../images/tangram-colorpicker.png)
-179px
-12px
no-repeat
;
background
:
url(../images/tangram-colorpicker.png)
-179px
-12px
no-repeat
;
}
}
.edui-colorpicker-slider
{
.edui-colorpicker-slider
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
cursor
:
pointer
;
cursor
:
pointer
;
}
.edui-colorpicker-thumb
{
position
:
absolute
;
top
:
0
;
cursor
:
pointer
;
height
:
3px
;
left
:
-1px
;
right
:
-1px
;
border
:
1px
solid
black
;
background
:
white
;
opacity
:
.8
;
}
}
.edui-colorpicker-thumb
{
position
:
absolute
;
top
:
0
;
cursor
:
pointer
;
height
:
3px
;
left
:
-1px
;
right
:
-1px
;
border
:
1px
solid
black
;
background
:
white
;
opacity
:
.8
;
}
/*自动排版弹出菜单*/
/*自动排版弹出菜单*/
.edui-default
.edui-autotypesetpicker
.edui-autotypesetpicker-body
{
.edui-default
.edui-autotypesetpicker
.edui-autotypesetpicker-body
{
font-size
:
12px
;
font-size
:
12px
;
margin-bottom
:
3px
;
margin-bottom
:
3px
;
clear
:
both
;
clear
:
both
;
}
}
.edui-default
.edui-autotypesetpicker-body
table
{
.edui-default
.edui-autotypesetpicker-body
table
{
border-collapse
:
separate
;
border-collapse
:
separate
;
border-spacing
:
2px
;
border-spacing
:
2px
;
}
}
.edui-default
.edui-autotypesetpicker-body
td
{
.edui-default
.edui-autotypesetpicker-body
td
{
font-size
:
12px
;
font-size
:
12px
;
word-wrap
:
break-word
;
word-wrap
:
break-word
;
}
}
.edui-default
.edui-autotypesetpicker-body
td
input
{
.edui-default
.edui-autotypesetpicker-body
td
input
{
margin
:
3px
3px
3px
4px
;
margin
:
3px
3px
3px
4px
;
*
margin
:
1px
0
0
0
;
*
margin
:
1px
0
0
0
;
}
}
/*自动排版弹出菜单*/
/*自动排版弹出菜单*/
.edui-default
.edui-cellalignpicker
.edui-cellalignpicker-body
{
.edui-default
.edui-cellalignpicker
.edui-cellalignpicker-body
{
width
:
70px
;
width
:
70px
;
font-size
:
12px
;
font-size
:
12px
;
cursor
:
default
;
cursor
:
default
;
}
}
.edui-default
.edui-cellalignpicker-body
table
{
.edui-default
.edui-cellalignpicker-body
table
{
border-collapse
:
separate
;
border-collapse
:
separate
;
border-spacing
:
0
;
border-spacing
:
0
;
}
}
.edui-default
.edui-cellalignpicker-body
td
{
padding
:
1px
;
.edui-default
.edui-cellalignpicker-body
td
{
padding
:
1px
;
}
}
.edui-default
.edui-cellalignpicker-body
.edui-icon
{
height
:
20px
;
.edui-default
.edui-cellalignpicker-body
.edui-icon
{
width
:
20px
;
height
:
20px
;
padding
:
1px
;
width
:
20px
;
background-image
:
url(../images/table-cell-align.png)
;
padding
:
1px
;
background-image
:
url(../images/table-cell-align.png)
;
}
}
.edui-default
.edui-cellalignpicker-body
.edui-left
{
.edui-default
.edui-cellalignpicker-body
.edui-left
{
background-position
:
0
0
;
background-position
:
0
0
;
}
}
.edui-default
.edui-cellalignpicker-body
.edui-center
{
.edui-default
.edui-cellalignpicker-body
.edui-center
{
background-position
:
-25px
0
;
background-position
:
-25px
0
;
}
}
.edui-default
.edui-cellalignpicker-body
.edui-right
{
background-position
:
-51px
0
;
.edui-default
.edui-cellalignpicker-body
.edui-right
{
background-position
:
-51px
0
;
}
}
.edui-default
.edui-cellalignpicker-body
td
.edui-state-hover
.edui-left
{
.edui-default
.edui-cellalignpicker-body
td
.edui-state-hover
.edui-left
{
background-position
:
-73px
0
;
background-position
:
-73px
0
;
}
}
.edui-default
.edui-cellalignpicker-body
td
.edui-state-hover
.edui-center
{
.edui-default
.edui-cellalignpicker-body
td
.edui-state-hover
.edui-center
{
background-position
:
-98px
0
;
background-position
:
-98px
0
;
}
}
.edui-default
.edui-cellalignpicker-body
td
.edui-state-hover
.edui-right
{
.edui-default
.edui-cellalignpicker-body
td
.edui-state-hover
.edui-right
{
background-position
:
-124px
0
;
background-position
:
-124px
0
;
}
}
.edui-default
.edui-cellalignpicker-body
td
.edui-cellalign-selected
.edui-left
{
.edui-default
.edui-cellalignpicker-body
td
.edui-cellalign-selected
.edui-left
{
background-position
:
-146px
0
;
background-position
:
-146px
0
;
background-color
:
#f1f4f5
;
background-color
:
#f1f4f5
;
}
}
.edui-default
.edui-cellalignpicker-body
td
.edui-cellalign-selected
.edui-center
{
.edui-default
.edui-cellalignpicker-body
td
.edui-cellalign-selected
.edui-center
{
background-position
:
-245px
0
;
background-position
:
-245px
0
;
}
}
.edui-default
.edui-cellalignpicker-body
td
.edui-cellalign-selected
.edui-right
{
.edui-default
.edui-cellalignpicker-body
td
.edui-cellalign-selected
.edui-right
{
background-position
:
-271px
0
;
background-position
:
-271px
0
;
}
}
/*分隔线*/
/*分隔线*/
.edui-default
.edui-toolbar
.edui-separator
{
.edui-default
.edui-toolbar
.edui-separator
{
width
:
2px
;
width
:
2px
;
height
:
20px
;
height
:
20px
;
margin
:
2px
4px
2px
3px
;
margin
:
2px
4px
2px
3px
;
background
:
url(../images/icons.png)
-181px
0
;
background
:
url(../images/icons.png)
-181px
0
;
background
:
url(../images/icons.gif)
-181px
0
\
9
;
background
:
url(../images/icons.gif)
-181px
0
\
9
;
}
}
/*颜色按钮 */
/*颜色按钮 */
.edui-default
.edui-toolbar
.edui-colorbutton
.edui-colorlump
{
.edui-default
.edui-toolbar
.edui-colorbutton
.edui-colorlump
{
position
:
absolute
;
position
:
absolute
;
overflow
:
hidden
;
overflow
:
hidden
;
bottom
:
1px
;
bottom
:
1px
;
left
:
1px
;
left
:
1px
;
width
:
18px
;
width
:
18px
;
height
:
4px
;
height
:
4px
;
}
}
/*表情按钮及弹出菜单*/
/*表情按钮及弹出菜单*/
/*去除了表情的下拉箭头*/
/*去除了表情的下拉箭头*/
.edui-default
.edui-for-emotion
.edui-icon
{
.edui-default
.edui-for-emotion
.edui-icon
{
background-position
:
-60px
-20px
;
background-position
:
-60px
-20px
;
}
}
.edui-default
.edui-for-emotion
.edui-popup-content
iframe
{
.edui-default
.edui-for-emotion
.edui-popup-content
iframe
{
width
:
514px
;
width
:
514px
;
height
:
380px
;
height
:
380px
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.edui-default
.edui-for-emotion
.edui-popup-content
{
.edui-default
.edui-for-emotion
.edui-popup-content
{
position
:
relative
;
position
:
relative
;
z-index
:
555
z-index
:
555
}
}
.edui-default
.edui-for-emotion
.edui-splitborder
{
.edui-default
.edui-for-emotion
.edui-splitborder
{
display
:
none
display
:
none
}
}
.edui-default
.edui-for-emotion
.edui-splitbutton-body
.edui-arrow
.edui-default
.edui-for-emotion
.edui-splitbutton-body
.edui-arrow
{
{
width
:
0
width
:
0
}
}
.edui-default
.edui-toolbar
.edui-for-emotion
.edui-state-active
.edui-splitborder
{
.edui-default
.edui-toolbar
.edui-for-emotion
.edui-state-active
.edui-splitborder
{
border-left
:
1px
solid
transparent
;
border-left
:
1px
solid
transparent
;
}
}
/*contextmenu*/
/*contextmenu*/
.edui-default
.edui-hassubmenu
.edui-arrow
{
.edui-default
.edui-hassubmenu
.edui-arrow
{
height
:
20px
;
height
:
20px
;
width
:
20px
;
width
:
20px
;
float
:
right
;
float
:
right
;
background
:
url("../images/icons-all.gif")
no-repeat
10px
-233px
;
background
:
url("../images/icons-all.gif")
no-repeat
10px
-233px
;
}
}
.edui-default
.edui-menu-body
.edui-menuitem
{
.edui-default
.edui-menu-body
.edui-menuitem
{
padding
:
1px
;
padding
:
1px
;
}
}
.edui-default
.edui-menuseparator
{
.edui-default
.edui-menuseparator
{
margin
:
2px
0
;
margin
:
2px
0
;
height
:
1px
;
height
:
1px
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.edui-default
.edui-menuseparator-inner
{
.edui-default
.edui-menuseparator-inner
{
border-bottom
:
1px
solid
#e2e3e3
;
border-bottom
:
1px
solid
#e2e3e3
;
margin-left
:
29px
;
margin-left
:
29px
;
margin-right
:
1px
;
margin-right
:
1px
;
}
}
.edui-default
.edui-menu-body
.edui-state-hover
{
.edui-default
.edui-menu-body
.edui-state-hover
{
padding
:
0
!important
;
padding
:
0
!important
;
background-color
:
#fff5d4
;
background-color
:
#fff5d4
;
border
:
1px
solid
#dcac6c
;
border
:
1px
solid
#dcac6c
;
}
}
/*弹出菜单*/
/*弹出菜单*/
.edui-default
.edui-shortcutmenu
{
.edui-default
.edui-shortcutmenu
{
padding
:
2px
;
padding
:
2px
;
width
:
190px
;
width
:
190px
;
height
:
50px
;
height
:
50px
;
background-color
:
#fff
;
background-color
:
#fff
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
border-radius
:
5px
;
border-radius
:
5px
;
}
}
/*粘贴弹出菜单*/
/*粘贴弹出菜单*/
.edui-default
.edui-wordpastepop
.edui-popup-content
{
.edui-default
.edui-wordpastepop
.edui-popup-content
{
border
:
none
;
border
:
none
;
padding
:
0
;
padding
:
0
;
width
:
54px
;
width
:
54px
;
height
:
21px
;
height
:
21px
;
}
}
.edui-default
.edui-pasteicon
{
width
:
100%
;
.edui-default
.edui-pasteicon
{
height
:
100%
;
width
:
100%
;
background-image
:
url('../images/wordpaste.png')
;
height
:
100%
;
background-position
:
0
0
;
background-image
:
url('../images/wordpaste.png')
;
background-position
:
0
0
;
}
}
.edui-default
.edui-pasteicon.edui-state-opened
{
.edui-default
.edui-pasteicon.edui-state-opened
{
background-position
:
0
-34px
;
background-position
:
0
-34px
;
}
}
.edui-default
.edui-pastecontainer
{
.edui-default
.edui-pastecontainer
{
position
:
relative
;
position
:
relative
;
visibility
:
hidden
;
visibility
:
hidden
;
width
:
97px
;
width
:
97px
;
background
:
#fff
;
background
:
#fff
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
}
}
.edui-default
.edui-pastecontainer
.edui-title
{
.edui-default
.edui-pastecontainer
.edui-title
{
font-weight
:
bold
;
font-weight
:
bold
;
background
:
#F8F8FF
;
background
:
#F8F8FF
;
height
:
25px
;
height
:
25px
;
line-height
:
25px
;
line-height
:
25px
;
font-size
:
12px
;
font-size
:
12px
;
padding-left
:
5px
;
padding-left
:
5px
;
}
}
.edui-default
.edui-pastecontainer
.edui-button
{
.edui-default
.edui-pastecontainer
.edui-button
{
overflow
:
hidden
;
overflow
:
hidden
;
margin
:
3px
0
;
margin
:
3px
0
;
}
}
.edui-default
.edui-pastecontainer
.edui-button
.edui-richtxticon
,
.edui-default
.edui-pastecontainer
.edui-button
.edui-richtxticon
,
.edui-default
.edui-pastecontainer
.edui-button
.edui-tagicon
,
.edui-default
.edui-pastecontainer
.edui-button
.edui-tagicon
,
.edui-default
.edui-pastecontainer
.edui-button
.edui-plaintxticon
{
.edui-default
.edui-pastecontainer
.edui-button
.edui-plaintxticon
{
float
:
left
;
float
:
left
;
cursor
:
pointer
;
cursor
:
pointer
;
width
:
29px
;
width
:
29px
;
height
:
29px
;
height
:
29px
;
margin-left
:
5px
;
margin-left
:
5px
;
background-image
:
url('../images/wordpaste.png')
;
background-image
:
url('../images/wordpaste.png')
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
}
}
.edui-default
.edui-pastecontainer
.edui-button
.edui-richtxticon
{
margin-left
:
0
;
.edui-default
.edui-pastecontainer
.edui-button
.edui-richtxticon
{
background-position
:
-109px
0
;
margin-left
:
0
;
background-position
:
-109px
0
;
}
}
.edui-default
.edui-pastecontainer
.edui-button
.edui-tagicon
{
background-position
:
-148px
1px
;
.edui-default
.edui-pastecontainer
.edui-button
.edui-tagicon
{
background-position
:
-148px
1px
;
}
}
.edui-default
.edui-pastecontainer
.edui-button
.edui-plaintxticon
{
.edui-default
.edui-pastecontainer
.edui-button
.edui-plaintxticon
{
background-position
:
-72px
0
;
background-position
:
-72px
0
;
}
}
.edui-default
.edui-pastecontainer
.edui-button
.edui-state-hover
.edui-richtxticon
{
.edui-default
.edui-pastecontainer
.edui-button
.edui-state-hover
.edui-richtxticon
{
background-position
:
-109px
-34px
;
background-position
:
-109px
-34px
;
}
}
.edui-default
.edui-pastecontainer
.edui-button
.edui-state-hover
.edui-tagicon
{
background-position
:
-148px
-34px
;
.edui-default
.edui-pastecontainer
.edui-button
.edui-state-hover
.edui-tagicon
{
background-position
:
-148px
-34px
;
}
}
.edui-default
.edui-pastecontainer
.edui-button
.edui-state-hover
.edui-plaintxticon
{
background-position
:
-72px
-34px
;
.edui-default
.edui-pastecontainer
.edui-button
.edui-state-hover
.edui-plaintxticon
{
background-position
:
-72px
-34px
;
}
}
static/utf8-jsp/ueditor.config.js
View file @
01262b7b
...
@@ -11,504 +11,513 @@
...
@@ -11,504 +11,513 @@
(
function
()
{
(
function
()
{
/**
/**
* 编辑器资源文件根路径。它所表示的含义是:以编辑器实例化页面为当前路径,指向编辑器资源文件(即dialog等文件夹)的路径。
* 编辑器资源文件根路径。它所表示的含义是:以编辑器实例化页面为当前路径,指向编辑器资源文件(即dialog等文件夹)的路径。
* 鉴于很多同学在使用编辑器的时候出现的种种路径问题,此处强烈建议大家使用"相对于网站根目录的相对路径"进行配置。
* 鉴于很多同学在使用编辑器的时候出现的种种路径问题,此处强烈建议大家使用"相对于网站根目录的相对路径"进行配置。
* "相对于网站根目录的相对路径"也就是以斜杠开头的形如"/myProject/ueditor/"这样的路径。
* "相对于网站根目录的相对路径"也就是以斜杠开头的形如"/myProject/ueditor/"这样的路径。
* 如果站点中有多个不在同一层级的页面需要实例化编辑器,且引用了同一UEditor的时候,此处的URL可能不适用于每个页面的编辑器。
* 如果站点中有多个不在同一层级的页面需要实例化编辑器,且引用了同一UEditor的时候,此处的URL可能不适用于每个页面的编辑器。
* 因此,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
getHost
=
function
(
url
)
{
var
getHost
=
function
(
url
)
{
var
host
=
"null"
;
var
host
=
"null"
;
if
(
typeof
url
==
"undefined"
if
(
typeof
url
==
"undefined"
||
||
null
==
url
)
null
==
url
)
url
=
window
.
location
.
href
;
url
=
window
.
location
.
href
;
var
regex
=
/.*
\:\/\/([^\/]
*
)
.*/
;
var
regex
=
/.*
\:\/\/([^\/]
*
)
.*/
;
var
match
=
url
.
match
(
regex
);
var
match
=
url
.
match
(
regex
);
if
(
typeof
match
!=
"undefined"
if
(
typeof
match
!=
"undefined"
&&
&&
null
!=
match
)
null
!=
match
)
host
=
match
[
1
];
host
=
match
[
1
];
return
host
+
"/"
;
return
host
+
"/"
;
}
}
var
URL
=
window
.
UEDITOR_HOME_URL
||
getUEBasePath
();
var
URL
=
window
.
UEDITOR_HOME_URL
||
getUEBasePath
();
/**
/**
* 配置项主体。注意,此处所有涉及到路径的配置别遗漏URL变量。
* 配置项主体。注意,此处所有涉及到路径的配置别遗漏URL变量。
*/
*/
window
.
UEDITOR_CONFIG
=
{
window
.
UEDITOR_CONFIG
=
{
//为编辑器实例添加一个路径,这个不能被注释
UEDITOR_HOME_URL
:
URL
// 服务器统一请求接口路径
,
serverUrl
:
"api/universal/file/app/unauth/ueditor"
//工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义
,
toolbars
:
[[
'fullscreen'
,
'source'
,
'|'
,
'undo'
,
'redo'
,
'|'
,
'bold'
,
'italic'
,
'underline'
,
'fontborder'
,
'strikethrough'
,
'superscript'
,
'subscript'
,
'removeformat'
,
'formatmatch'
,
'autotypeset'
,
'blockquote'
,
'pasteplain'
,
'|'
,
'forecolor'
,
'backcolor'
,
'insertorderedlist'
,
'insertunorderedlist'
,
'selectall'
,
'cleardoc'
,
'|'
,
'rowspacingtop'
,
'rowspacingbottom'
,
'lineheight'
,
'|'
,
'customstyle'
,
'paragraph'
,
'fontfamily'
,
'fontsize'
,
'|'
,
'directionalityltr'
,
'directionalityrtl'
,
'indent'
,
'|'
,
'justifyleft'
,
'justifycenter'
,
'justifyright'
,
'justifyjustify'
,
'|'
,
'touppercase'
,
'tolowercase'
,
'|'
,
'link'
,
'unlink'
,
'anchor'
,
'|'
,
'imagenone'
,
'imageleft'
,
'imageright'
,
'imagecenter'
,
'|'
,
'simpleupload'
,
'insertimage'
,
'emotion'
,
'scrawl'
,
'insertvideo'
,
'music'
,
'attachment'
,
'map'
,
'gmap'
,
'insertframe'
,
'insertcode'
,
'webapp'
,
'pagebreak'
,
'template'
,
'background'
,
'|'
,
'horizontal'
,
'date'
,
'time'
,
'spechars'
,
'snapscreen'
,
'wordimage'
,
'|'
,
'inserttable'
,
'deletetable'
,
'insertparagraphbeforetable'
,
'insertrow'
,
'deleterow'
,
'insertcol'
,
'deletecol'
,
'mergecells'
,
'mergeright'
,
'mergedown'
,
'splittocells'
,
'splittorows'
,
'splittocols'
,
'charts'
,
'|'
,
'print'
,
'preview'
,
'searchreplace'
,
'drafts'
,
'help'
]]
//当鼠标放在工具栏上时显示的tooltip提示,留空支持自动多语言配置,否则以配置值为准
//,labelMap:{
// 'anchor':'', 'undo':''
//}
//语言配置项,默认是zh-cn。有需要的话也可以使用如下这样的方式来自动多语言切换,当然,前提条件是lang文件夹下存在对应的语言文件:
//lang值也可以通过自动获取 (navigator.language||navigator.browserLanguage ||navigator.userLanguage).toLowerCase()
//,lang:"zh-cn"
//,langPath:URL +"lang/"
//主题配置项,默认是default。有需要的话也可以使用如下这样的方式来自动多主题切换,当然,前提条件是themes文件夹下存在对应的主题文件:
//现有如下皮肤:default
//,theme:'default'
//,themePath:URL +"themes/"
//,zIndex : 900 //编辑器层级的基数,默认是900
//针对getAllHtml方法,会在对应的head标签中增加该编码设置。
//,charset:"utf-8"
//若实例化编辑器的页面手动修改的domain,此处需要设置为true
//,customDomain:false
//常用配置项目
//,isShow : true //默认显示编辑器
//,textarea:'editorValue' // 提交表单时,服务器获取编辑器提交内容的所用的参数,多实例时可以给容器name属性,会将name给定的值最为每个实例的键值,不用每次实例化的时候都设置这个值
//,initialContent:'欢迎使用ueditor!' //初始化编辑器的内容,也可以通过textarea/script给值,看官网例子
//,autoClearinitialContent:true //是否自动清除编辑器初始内容,注意:如果focus属性设置为true,这个也为真,那么编辑器一上来就会触发导致初始化的内容看不到了
//,focus:false //初始化时,是否让编辑器获得焦点true或false
//如果自定义,最好给p标签如下的行高,要不输入中文时,会有跳动感
//,initialStyle:'p{line-height:1em}'//编辑器层级的基数,可以用来改变字体等
//,iframeCssUrl: URL + '/themes/iframe.css' //给编辑区域的iframe引入一个css文件
//indentValue
//首行缩进距离,默认是2em
//,indentValue:'2em'
//,initialFrameWidth:1000 //初始化编辑器宽度,默认1000
//,initialFrameHeight:320 //初始化编辑器高度,默认320
//,readonly : false //编辑器初始化结束后,编辑区域是否是只读的,默认是false
//,autoClearEmptyNode : true //getContent时,是否删除空的inlineElement节点(包括嵌套的情况)
//启用自动保存
//,enableAutoSave: true
//自动保存间隔时间, 单位ms
//,saveInterval: 500
//,fullscreen : false //是否开启初始化时即全屏,默认关闭
//,imagePopup:true //图片操作的浮层开关,默认打开
//,autoSyncData:true //自动同步编辑器要提交的数据
//,emotionLocalization:false //是否开启表情本地化,默认关闭。若要开启请确保emotion文件夹下包含官网提供的images表情文件夹
//粘贴只保留标签,去除标签所有属性
//,retainOnlyLabelPasted: false
//,pasteplain:false //是否默认为纯文本粘贴。false为不使用纯文本粘贴,true为使用纯文本粘贴
//纯文本粘贴模式下的过滤规则
//'filterTxtRules' : function(){
// function transP(node){
// node.tagName = 'p';
// node.setStyle();
// }
// return {
// //直接删除及其字节点内容
// '-' : 'script style object iframe embed input select',
// 'p': {$:{}},
// 'br':{$:{}},
// 'div':{'$':{}},
// 'li':{'$':{}},
// 'caption':transP,
// 'th':transP,
// 'tr':transP,
// 'h1':transP,'h2':transP,'h3':transP,'h4':transP,'h5':transP,'h6':transP,
// 'td':function(node){
// //没有内容的td直接删掉
// var txt = !!node.innerText();
// if(txt){
// node.parentNode.insertAfter(UE.uNode.createText(' '),node);
// }
// node.parentNode.removeChild(node,node.innerText())
// }
// }
//}()
//,allHtmlEnabled:false //提交到后台的数据是否包含整个html字符串
//insertorderedlist
//有序列表的下拉配置,值留空时支持多语言自动识别,若配置值,则以此值为准
//,'insertorderedlist':{
// //自定的样式
// 'num':'1,2,3...',
// 'num1':'1),2),3)...',
// 'num2':'(1),(2),(3)...',
// 'cn':'一,二,三....',
// 'cn1':'一),二),三)....',
// 'cn2':'(一),(二),(三)....',
// //系统自带
// 'decimal' : '' , //'1,2,3...'
// 'lower-alpha' : '' , // 'a,b,c...'
// 'lower-roman' : '' , //'i,ii,iii...'
// 'upper-alpha' : '' , lang //'A,B,C'
// 'upper-roman' : '' //'I,II,III...'
//}
//insertunorderedlist
//无序列表的下拉配置,值留空时支持多语言自动识别,若配置值,则以此值为准
//,insertunorderedlist : { //自定的样式
// 'dash' :'— 破折号', //-破折号
// 'dot':' 。 小圆圈', //系统自带
// 'circle' : '', // '○ 小圆圈'
// 'disc' : '', // '● 小圆点'
// 'square' : '' //'■ 小方块'
//}
//,listDefaultPaddingLeft : '30'//默认的左边缩进的基数倍
//,listiconpath : 'http://bs.baidu.com/listicon/'//自定义标号的路径
//,maxListLevel : 3 //限制可以tab的级数, 设置-1为不限制
//,autoTransWordToList:false //禁止word中粘贴进来的列表自动变成列表标签
//fontfamily
//字体设置 label留空支持多语言自动切换,若配置,则以配置值为准
//,'fontfamily':[
// { label:'',name:'songti',val:'宋体,SimSun'},
// { label:'',name:'kaiti',val:'楷体,楷体_GB2312, SimKai'},
// { label:'',name:'yahei',val:'微软雅黑,Microsoft YaHei'},
// { label:'',name:'heiti',val:'黑体, SimHei'},
// { label:'',name:'lishu',val:'隶书, SimLi'},
// { label:'',name:'andaleMono',val:'andale mono'},
// { label:'',name:'arial',val:'arial, helvetica,sans-serif'},
// { label:'',name:'arialBlack',val:'arial black,avant garde'},
// { label:'',name:'comicSansMs',val:'comic sans ms'},
// { label:'',name:'impact',val:'impact,chicago'},
// { label:'',name:'timesNewRoman',val:'times new roman'}
//]
//fontsize
//字号
//,'fontsize':[10, 11, 12, 14, 16, 18, 20, 24, 36]
//paragraph
//段落格式 值留空时支持多语言自动识别,若配置,则以配置值为准
//,'paragraph':{'p':'', 'h1':'', 'h2':'', 'h3':'', 'h4':'', 'h5':'', 'h6':''}
//rowspacingtop
//段间距 值和显示的名字相同
//,'rowspacingtop':['5', '10', '15', '20', '25']
//rowspacingBottom
//段间距 值和显示的名字相同
//,'rowspacingbottom':['5', '10', '15', '20', '25']
//lineheight
//行内间距 值和显示的名字相同
//,'lineheight':['1', '1.5','1.75','2', '3', '4', '5']
//customstyle
//自定义样式,不支持国际化,此处配置值即可最后显示值
//block的元素是依据设置段落的逻辑设置的,inline的元素依据BIU的逻辑设置
//尽量使用一些常用的标签
//参数说明
//tag 使用的标签名字
//label 显示的名字也是用来标识不同类型的标识符,注意这个值每个要不同,
//style 添加的样式
//每一个对象就是一个自定义的样式
//,'customstyle':[
// {tag:'h1', name:'tc', label:'', style:'border-bottom:#ccc 2px solid;padding:0 4px 0 0;text-align:center;margin:0 0 20px 0;'},
// {tag:'h1', name:'tl',label:'', style:'border-bottom:#ccc 2px solid;padding:0 4px 0 0;margin:0 0 10px 0;'},
// {tag:'span',name:'im', label:'', style:'font-style:italic;font-weight:bold'},
// {tag:'span',name:'hi', label:'', style:'font-style:italic;font-weight:bold;color:rgb(51, 153, 204)'}
//]
//打开右键菜单功能
//,enableContextMenu: true
//右键菜单的内容,可以参考plugins/contextmenu.js里边的默认菜单的例子,label留空支持国际化,否则以此配置为准
//,contextMenu:[
// {
// label:'', //显示的名称
// cmdName:'selectall',//执行的command命令,当点击这个右键菜单时
// //exec可选,有了exec就会在点击时执行这个function,优先级高于cmdName
// exec:function () {
// //this是当前编辑器的实例
// //this.ui._dialogs['inserttableDialog'].open();
// }
// }
//]
//快捷菜单
//,shortcutMenu:["fontfamily", "fontsize", "bold", "italic", "underline", "forecolor", "backcolor", "insertorderedlist", "insertunorderedlist"]
//elementPathEnabled
//是否启用元素路径,默认是显示
//,elementPathEnabled : true
//wordCount
//,wordCount:true //是否开启字数统计
//,maximumWords:10000 //允许的最大字符数
//字数统计提示,{#count}代表当前字数,{#leave}代表还可以输入多少字符数,留空支持多语言自动切换,否则按此配置显示
//,wordCountMsg:'' //当前已输入 {#count} 个字符,您还可以输入{#leave} 个字符
//超出字数限制提示 留空支持多语言自动切换,否则按此配置显示
//,wordOverFlowMsg:'' //<span style="color:red;">你输入的字符个数已经超出最大允许值,服务器可能会拒绝保存!</span>
//tab
//点击tab键时移动的距离,tabSize倍数,tabNode什么字符做为单位
//,tabSize:4
//,tabNode:' '
//removeFormat
//清除格式时可以删除的标签和属性
//removeForamtTags标签
//,removeFormatTags:'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var'
//removeFormatAttributes属性
//,removeFormatAttributes:'class,style,lang,width,height,align,hspace,valign'
//undo
//可以最多回退的次数,默认20
//,maxUndoCount:20
//当输入的字符数超过该值时,保存一次现场
//,maxInputCount:1
//autoHeightEnabled
// 是否自动长高,默认true
//,autoHeightEnabled:true
//scaleEnabled
//是否可以拉伸长高,默认true(当开启时,自动长高失效)
//,scaleEnabled:false
//,minFrameWidth:800 //编辑器拖动时最小宽度,默认800
//,minFrameHeight:220 //编辑器拖动时最小高度,默认220
//autoFloatEnabled
//是否保持toolbar的位置不动,默认true
//,autoFloatEnabled:true
//浮动时工具栏距离浏览器顶部的高度,用于某些具有固定头部的页面
//,topOffset:30
//编辑器底部距离工具栏高度(如果参数大于等于编辑器高度,则设置无效)
//,toolbarTopOffset:400
//设置远程图片是否抓取到本地保存
//,catchRemoteImageEnable: true //设置是否抓取远程图片
//pageBreakTag
//分页标识符,默认是_ueditor_page_break_tag_
//,pageBreakTag:'_ueditor_page_break_tag_'
//autotypeset
//自动排版参数
//,autotypeset: {
// mergeEmptyline: true, //合并空行
// removeClass: true, //去掉冗余的class
// removeEmptyline: false, //去掉空行
// textAlign:"left", //段落的排版方式,可以是 left,right,center,justify 去掉这个属性表示不执行排版
// imageBlockLine: 'center', //图片的浮动方式,独占一行剧中,左右浮动,默认: center,left,right,none 去掉这个属性表示不执行排版
// pasteFilter: false, //根据规则过滤没事粘贴进来的内容
// clearFontSize: false, //去掉所有的内嵌字号,使用编辑器默认的字号
// clearFontFamily: false, //去掉所有的内嵌字体,使用编辑器默认的字体
// removeEmptyNode: false, // 去掉空节点
// //可以去掉的标签
// removeTagNames: {标签名字:1},
// indent: false, // 行首缩进
// indentValue : '2em', //行首缩进的大小
// bdc2sb: false,
// tobdc: false
//}
//tableDragable
//表格是否可以拖拽
//,tableDragable: true
//sourceEditor
//源码的查看方式,codemirror 是代码高亮,textarea是文本框,默认是codemirror
//注意默认codemirror只能在ie8+和非ie中使用
//,sourceEditor:"codemirror"
//如果sourceEditor是codemirror,还用配置一下两个参数
//codeMirrorJsUrl js加载的路径,默认是 URL + "third-party/codemirror/codemirror.js"
//,codeMirrorJsUrl:URL + "third-party/codemirror/codemirror.js"
//codeMirrorCssUrl css加载的路径,默认是 URL + "third-party/codemirror/codemirror.css"
//,codeMirrorCssUrl:URL + "third-party/codemirror/codemirror.css"
//编辑器初始化完成后是否进入源码模式,默认为否。
//,sourceEditorFirst:false
//iframeUrlMap
//dialog内容的路径 ~会被替换成URL,垓属性一旦打开,将覆盖所有的dialog的默认路径
//,iframeUrlMap:{
// 'anchor':'~/dialogs/anchor/anchor.html',
//}
//allowLinkProtocol 允许的链接地址,有这些前缀的链接地址不会自动添加http
//, allowLinkProtocols: ['http:', 'https:', '#', '/', 'ftp:', 'mailto:', 'tel:', 'git:', 'svn:']
//webAppKey 百度应用的APIkey,每个站长必须首先去百度官网注册一个key后方能正常使用app功能,注册介绍,http://app.baidu.com/static/cms/getapikey.html
//, webAppKey: ""
//默认过滤规则相关配置项目
//,disabledTableInTable:true //禁止表格嵌套
//,allowDivTransToP:true //允许进入编辑器的div标签自动变成p标签
//,rgb2Hex:true //默认产出的数据中的color自动从rgb格式变成16进制格式
// xss 过滤是否开启,inserthtml等操作
,
xssFilterRules
:
true
//input xss过滤
,
inputXssFilter
:
true
//output xss过滤
,
outputXssFilter
:
true
// xss过滤白名单 名单来源: https://raw.githubusercontent.com/leizongmin/js-xss/master/lib/default.js
,
whitList
:
{
a
:
[
'target'
,
'href'
,
'title'
,
'class'
,
'style'
],
abbr
:
[
'title'
,
'class'
,
'style'
],
address
:
[
'class'
,
'style'
],
area
:
[
'shape'
,
'coords'
,
'href'
,
'alt'
],
article
:
[],
aside
:
[],
audio
:
[
'autoplay'
,
'controls'
,
'loop'
,
'preload'
,
'src'
,
'class'
,
'style'
],
b
:
[
'class'
,
'style'
],
bdi
:
[
'dir'
],
bdo
:
[
'dir'
],
big
:
[],
blockquote
:
[
'cite'
,
'class'
,
'style'
],
br
:
[],
caption
:
[
'class'
,
'style'
],
center
:
[],
cite
:
[],
code
:
[
'class'
,
'style'
],
col
:
[
'align'
,
'valign'
,
'span'
,
'width'
,
'class'
,
'style'
],
colgroup
:
[
'align'
,
'valign'
,
'span'
,
'width'
,
'class'
,
'style'
],
dd
:
[
'class'
,
'style'
],
del
:
[
'datetime'
],
details
:
[
'open'
],
div
:
[
'class'
,
'style'
],
dl
:
[
'class'
,
'style'
],
dt
:
[
'class'
,
'style'
],
em
:
[
'class'
,
'style'
],
font
:
[
'color'
,
'size'
,
'face'
],
footer
:
[],
h1
:
[
'class'
,
'style'
],
h2
:
[
'class'
,
'style'
],
h3
:
[
'class'
,
'style'
],
h4
:
[
'class'
,
'style'
],
h5
:
[
'class'
,
'style'
],
h6
:
[
'class'
,
'style'
],
header
:
[],
hr
:
[],
i
:
[
'class'
,
'style'
],
img
:
[
'src'
,
'alt'
,
'title'
,
'width'
,
'height'
,
'id'
,
'_src'
,
'loadingclass'
,
'class'
,
'data-latex'
],
ins
:
[
'datetime'
],
li
:
[
'class'
,
'style'
],
mark
:
[],
nav
:
[],
ol
:
[
'class'
,
'style'
],
p
:
[
'class'
,
'style'
],
pre
:
[
'class'
,
'style'
],
s
:
[],
section
:[],
small
:
[],
span
:
[
'class'
,
'style'
],
sub
:
[
'class'
,
'style'
],
sup
:
[
'class'
,
'style'
],
strong
:
[
'class'
,
'style'
],
table
:
[
'width'
,
'border'
,
'align'
,
'valign'
,
'class'
,
'style'
],
tbody
:
[
'align'
,
'valign'
,
'class'
,
'style'
],
td
:
[
'width'
,
'rowspan'
,
'colspan'
,
'align'
,
'valign'
,
'class'
,
'style'
],
tfoot
:
[
'align'
,
'valign'
,
'class'
,
'style'
],
th
:
[
'width'
,
'rowspan'
,
'colspan'
,
'align'
,
'valign'
,
'class'
,
'style'
],
thead
:
[
'align'
,
'valign'
,
'class'
,
'style'
],
tr
:
[
'rowspan'
,
'align'
,
'valign'
,
'class'
,
'style'
],
tt
:
[],
u
:
[],
ul
:
[
'class'
,
'style'
],
video
:
[
'autoplay'
,
'controls'
,
'loop'
,
'preload'
,
'src'
,
'height'
,
'width'
,
'class'
,
'style'
]
}
};
function
getUEBasePath
(
docUrl
,
confUrl
)
{
return
getBasePath
(
docUrl
||
self
.
document
.
URL
||
self
.
location
.
href
,
confUrl
||
getConfigFilePath
());
//为编辑器实例添加一个路径,这个不能被注释
UEDITOR_HOME_URL
:
URL
// 服务器统一请求接口路径
,
serverUrl
:
"api/universal/file/app/unauth/ueditor"
//工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义
,
toolbars
:
[
[
'fullscreen'
,
'source'
,
'|'
,
'undo'
,
'redo'
,
'|'
,
'bold'
,
'italic'
,
'underline'
,
'fontborder'
,
'strikethrough'
,
'superscript'
,
'subscript'
,
'removeformat'
,
'formatmatch'
,
'autotypeset'
,
'blockquote'
,
'pasteplain'
,
'|'
,
'forecolor'
,
'backcolor'
,
'insertorderedlist'
,
'insertunorderedlist'
,
'selectall'
,
'cleardoc'
,
'|'
,
'rowspacingtop'
,
'rowspacingbottom'
,
'lineheight'
,
'|'
,
'customstyle'
,
'paragraph'
,
'fontfamily'
,
'fontsize'
,
'|'
,
'directionalityltr'
,
'directionalityrtl'
,
'indent'
,
'|'
,
'justifyleft'
,
'justifycenter'
,
'justifyright'
,
'justifyjustify'
,
'|'
,
'touppercase'
,
'tolowercase'
,
'|'
,
'link'
,
'unlink'
,
'anchor'
,
'|'
,
'imagenone'
,
'imageleft'
,
'imageright'
,
'imagecenter'
,
'|'
,
'simpleupload'
,
'insertimage'
,
'emotion'
,
'scrawl'
,
'insertvideo'
,
'music'
,
'attachment'
,
'map'
,
'gmap'
,
'insertframe'
,
'insertcode'
,
'webapp'
,
'pagebreak'
,
'template'
,
'background'
,
'|'
,
'horizontal'
,
'date'
,
'time'
,
'spechars'
,
'snapscreen'
,
'wordimage'
,
'|'
,
'inserttable'
,
'deletetable'
,
'insertparagraphbeforetable'
,
'insertrow'
,
'deleterow'
,
'insertcol'
,
'deletecol'
,
'mergecells'
,
'mergeright'
,
'mergedown'
,
'splittocells'
,
'splittorows'
,
'splittocols'
,
'charts'
,
'|'
,
'print'
,
'preview'
,
'searchreplace'
,
'drafts'
,
'help'
]
]
//当鼠标放在工具栏上时显示的tooltip提示,留空支持自动多语言配置,否则以配置值为准
//,labelMap:{
// 'anchor':'', 'undo':''
//}
//语言配置项,默认是zh-cn。有需要的话也可以使用如下这样的方式来自动多语言切换,当然,前提条件是lang文件夹下存在对应的语言文件:
//lang值也可以通过自动获取 (navigator.language||navigator.browserLanguage ||navigator.userLanguage).toLowerCase()
//,lang:"zh-cn"
//,langPath:URL +"lang/"
//主题配置项,默认是default。有需要的话也可以使用如下这样的方式来自动多主题切换,当然,前提条件是themes文件夹下存在对应的主题文件:
//现有如下皮肤:default
//,theme:'default'
//,themePath:URL +"themes/"
,
zIndex
:
0
//编辑器层级的基数,默认是900
//针对getAllHtml方法,会在对应的head标签中增加该编码设置。
//,charset:"utf-8"
//若实例化编辑器的页面手动修改的domain,此处需要设置为true
//,customDomain:false
//常用配置项目
//,isShow : true //默认显示编辑器
//,textarea:'editorValue' // 提交表单时,服务器获取编辑器提交内容的所用的参数,多实例时可以给容器name属性,会将name给定的值最为每个实例的键值,不用每次实例化的时候都设置这个值
//,initialContent:'欢迎使用ueditor!' //初始化编辑器的内容,也可以通过textarea/script给值,看官网例子
//,autoClearinitialContent:true //是否自动清除编辑器初始内容,注意:如果focus属性设置为true,这个也为真,那么编辑器一上来就会触发导致初始化的内容看不到了
//,focus:false //初始化时,是否让编辑器获得焦点true或false
//如果自定义,最好给p标签如下的行高,要不输入中文时,会有跳动感
//,initialStyle:'p{line-height:1em}'//编辑器层级的基数,可以用来改变字体等
//,iframeCssUrl: URL + '/themes/iframe.css' //给编辑区域的iframe引入一个css文件
//indentValue
//首行缩进距离,默认是2em
//,indentValue:'2em'
//,initialFrameWidth:1000 //初始化编辑器宽度,默认1000
//,initialFrameHeight:320 //初始化编辑器高度,默认320
//,readonly : false //编辑器初始化结束后,编辑区域是否是只读的,默认是false
//,autoClearEmptyNode : true //getContent时,是否删除空的inlineElement节点(包括嵌套的情况)
//启用自动保存
//,enableAutoSave: true
//自动保存间隔时间, 单位ms
//,saveInterval: 500
//,fullscreen : false //是否开启初始化时即全屏,默认关闭
//,imagePopup:true //图片操作的浮层开关,默认打开
//,autoSyncData:true //自动同步编辑器要提交的数据
//,emotionLocalization:false //是否开启表情本地化,默认关闭。若要开启请确保emotion文件夹下包含官网提供的images表情文件夹
//粘贴只保留标签,去除标签所有属性
//,retainOnlyLabelPasted: false
//,pasteplain:false //是否默认为纯文本粘贴。false为不使用纯文本粘贴,true为使用纯文本粘贴
//纯文本粘贴模式下的过滤规则
//'filterTxtRules' : function(){
// function transP(node){
// node.tagName = 'p';
// node.setStyle();
// }
// return {
// //直接删除及其字节点内容
// '-' : 'script style object iframe embed input select',
// 'p': {$:{}},
// 'br':{$:{}},
// 'div':{'$':{}},
// 'li':{'$':{}},
// 'caption':transP,
// 'th':transP,
// 'tr':transP,
// 'h1':transP,'h2':transP,'h3':transP,'h4':transP,'h5':transP,'h6':transP,
// 'td':function(node){
// //没有内容的td直接删掉
// var txt = !!node.innerText();
// if(txt){
// node.parentNode.insertAfter(UE.uNode.createText(' '),node);
// }
// node.parentNode.removeChild(node,node.innerText())
// }
// }
//}()
//,allHtmlEnabled:false //提交到后台的数据是否包含整个html字符串
//insertorderedlist
//有序列表的下拉配置,值留空时支持多语言自动识别,若配置值,则以此值为准
//,'insertorderedlist':{
// //自定的样式
// 'num':'1,2,3...',
// 'num1':'1),2),3)...',
// 'num2':'(1),(2),(3)...',
// 'cn':'一,二,三....',
// 'cn1':'一),二),三)....',
// 'cn2':'(一),(二),(三)....',
// //系统自带
// 'decimal' : '' , //'1,2,3...'
// 'lower-alpha' : '' , // 'a,b,c...'
// 'lower-roman' : '' , //'i,ii,iii...'
// 'upper-alpha' : '' , lang //'A,B,C'
// 'upper-roman' : '' //'I,II,III...'
//}
//insertunorderedlist
//无序列表的下拉配置,值留空时支持多语言自动识别,若配置值,则以此值为准
//,insertunorderedlist : { //自定的样式
// 'dash' :'— 破折号', //-破折号
// 'dot':' 。 小圆圈', //系统自带
// 'circle' : '', // '○ 小圆圈'
// 'disc' : '', // '● 小圆点'
// 'square' : '' //'■ 小方块'
//}
//,listDefaultPaddingLeft : '30'//默认的左边缩进的基数倍
//,listiconpath : 'http://bs.baidu.com/listicon/'//自定义标号的路径
//,maxListLevel : 3 //限制可以tab的级数, 设置-1为不限制
//,autoTransWordToList:false //禁止word中粘贴进来的列表自动变成列表标签
//fontfamily
//字体设置 label留空支持多语言自动切换,若配置,则以配置值为准
//,'fontfamily':[
// { label:'',name:'songti',val:'宋体,SimSun'},
// { label:'',name:'kaiti',val:'楷体,楷体_GB2312, SimKai'},
// { label:'',name:'yahei',val:'微软雅黑,Microsoft YaHei'},
// { label:'',name:'heiti',val:'黑体, SimHei'},
// { label:'',name:'lishu',val:'隶书, SimLi'},
// { label:'',name:'andaleMono',val:'andale mono'},
// { label:'',name:'arial',val:'arial, helvetica,sans-serif'},
// { label:'',name:'arialBlack',val:'arial black,avant garde'},
// { label:'',name:'comicSansMs',val:'comic sans ms'},
// { label:'',name:'impact',val:'impact,chicago'},
// { label:'',name:'timesNewRoman',val:'times new roman'}
//]
//fontsize
//字号
//,'fontsize':[10, 11, 12, 14, 16, 18, 20, 24, 36]
//paragraph
//段落格式 值留空时支持多语言自动识别,若配置,则以配置值为准
//,'paragraph':{'p':'', 'h1':'', 'h2':'', 'h3':'', 'h4':'', 'h5':'', 'h6':''}
//rowspacingtop
//段间距 值和显示的名字相同
//,'rowspacingtop':['5', '10', '15', '20', '25']
//rowspacingBottom
//段间距 值和显示的名字相同
//,'rowspacingbottom':['5', '10', '15', '20', '25']
//lineheight
//行内间距 值和显示的名字相同
//,'lineheight':['1', '1.5','1.75','2', '3', '4', '5']
//customstyle
//自定义样式,不支持国际化,此处配置值即可最后显示值
//block的元素是依据设置段落的逻辑设置的,inline的元素依据BIU的逻辑设置
//尽量使用一些常用的标签
//参数说明
//tag 使用的标签名字
//label 显示的名字也是用来标识不同类型的标识符,注意这个值每个要不同,
//style 添加的样式
//每一个对象就是一个自定义的样式
//,'customstyle':[
// {tag:'h1', name:'tc', label:'', style:'border-bottom:#ccc 2px solid;padding:0 4px 0 0;text-align:center;margin:0 0 20px 0;'},
// {tag:'h1', name:'tl',label:'', style:'border-bottom:#ccc 2px solid;padding:0 4px 0 0;margin:0 0 10px 0;'},
// {tag:'span',name:'im', label:'', style:'font-style:italic;font-weight:bold'},
// {tag:'span',name:'hi', label:'', style:'font-style:italic;font-weight:bold;color:rgb(51, 153, 204)'}
//]
//打开右键菜单功能
//,enableContextMenu: true
//右键菜单的内容,可以参考plugins/contextmenu.js里边的默认菜单的例子,label留空支持国际化,否则以此配置为准
//,contextMenu:[
// {
// label:'', //显示的名称
// cmdName:'selectall',//执行的command命令,当点击这个右键菜单时
// //exec可选,有了exec就会在点击时执行这个function,优先级高于cmdName
// exec:function () {
// //this是当前编辑器的实例
// //this.ui._dialogs['inserttableDialog'].open();
// }
// }
//]
//快捷菜单
//,shortcutMenu:["fontfamily", "fontsize", "bold", "italic", "underline", "forecolor", "backcolor", "insertorderedlist", "insertunorderedlist"]
//elementPathEnabled
//是否启用元素路径,默认是显示
//,elementPathEnabled : true
//wordCount
//,wordCount:true //是否开启字数统计
//,maximumWords:10000 //允许的最大字符数
//字数统计提示,{#count}代表当前字数,{#leave}代表还可以输入多少字符数,留空支持多语言自动切换,否则按此配置显示
//,wordCountMsg:'' //当前已输入 {#count} 个字符,您还可以输入{#leave} 个字符
//超出字数限制提示 留空支持多语言自动切换,否则按此配置显示
//,wordOverFlowMsg:'' //<span style="color:red;">你输入的字符个数已经超出最大允许值,服务器可能会拒绝保存!</span>
//tab
//点击tab键时移动的距离,tabSize倍数,tabNode什么字符做为单位
//,tabSize:4
//,tabNode:' '
//removeFormat
//清除格式时可以删除的标签和属性
//removeForamtTags标签
//,removeFormatTags:'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var'
//removeFormatAttributes属性
//,removeFormatAttributes:'class,style,lang,width,height,align,hspace,valign'
//undo
//可以最多回退的次数,默认20
//,maxUndoCount:20
//当输入的字符数超过该值时,保存一次现场
//,maxInputCount:1
//autoHeightEnabled
// 是否自动长高,默认true
//,autoHeightEnabled:true
//scaleEnabled
//是否可以拉伸长高,默认true(当开启时,自动长高失效)
//,scaleEnabled:false
//,minFrameWidth:800 //编辑器拖动时最小宽度,默认800
//,minFrameHeight:220 //编辑器拖动时最小高度,默认220
//autoFloatEnabled
//是否保持toolbar的位置不动,默认true
//,autoFloatEnabled:true
//浮动时工具栏距离浏览器顶部的高度,用于某些具有固定头部的页面
//,topOffset:30
//编辑器底部距离工具栏高度(如果参数大于等于编辑器高度,则设置无效)
//,toolbarTopOffset:400
//设置远程图片是否抓取到本地保存
//,catchRemoteImageEnable: true //设置是否抓取远程图片
//pageBreakTag
//分页标识符,默认是_ueditor_page_break_tag_
//,pageBreakTag:'_ueditor_page_break_tag_'
//autotypeset
//自动排版参数
//,autotypeset: {
// mergeEmptyline: true, //合并空行
// removeClass: true, //去掉冗余的class
// removeEmptyline: false, //去掉空行
// textAlign:"left", //段落的排版方式,可以是 left,right,center,justify 去掉这个属性表示不执行排版
// imageBlockLine: 'center', //图片的浮动方式,独占一行剧中,左右浮动,默认: center,left,right,none 去掉这个属性表示不执行排版
// pasteFilter: false, //根据规则过滤没事粘贴进来的内容
// clearFontSize: false, //去掉所有的内嵌字号,使用编辑器默认的字号
// clearFontFamily: false, //去掉所有的内嵌字体,使用编辑器默认的字体
// removeEmptyNode: false, // 去掉空节点
// //可以去掉的标签
// removeTagNames: {标签名字:1},
// indent: false, // 行首缩进
// indentValue : '2em', //行首缩进的大小
// bdc2sb: false,
// tobdc: false
//}
//tableDragable
//表格是否可以拖拽
//,tableDragable: true
//sourceEditor
//源码的查看方式,codemirror 是代码高亮,textarea是文本框,默认是codemirror
//注意默认codemirror只能在ie8+和非ie中使用
//,sourceEditor:"codemirror"
//如果sourceEditor是codemirror,还用配置一下两个参数
//codeMirrorJsUrl js加载的路径,默认是 URL + "third-party/codemirror/codemirror.js"
//,codeMirrorJsUrl:URL + "third-party/codemirror/codemirror.js"
//codeMirrorCssUrl css加载的路径,默认是 URL + "third-party/codemirror/codemirror.css"
//,codeMirrorCssUrl:URL + "third-party/codemirror/codemirror.css"
//编辑器初始化完成后是否进入源码模式,默认为否。
//,sourceEditorFirst:false
//iframeUrlMap
//dialog内容的路径 ~会被替换成URL,垓属性一旦打开,将覆盖所有的dialog的默认路径
//,iframeUrlMap:{
// 'anchor':'~/dialogs/anchor/anchor.html',
//}
//allowLinkProtocol 允许的链接地址,有这些前缀的链接地址不会自动添加http
//, allowLinkProtocols: ['http:', 'https:', '#', '/', 'ftp:', 'mailto:', 'tel:', 'git:', 'svn:']
//webAppKey 百度应用的APIkey,每个站长必须首先去百度官网注册一个key后方能正常使用app功能,注册介绍,http://app.baidu.com/static/cms/getapikey.html
//, webAppKey: ""
//默认过滤规则相关配置项目
//,disabledTableInTable:true //禁止表格嵌套
//,allowDivTransToP:true //允许进入编辑器的div标签自动变成p标签
//,rgb2Hex:true //默认产出的数据中的color自动从rgb格式变成16进制格式
// xss 过滤是否开启,inserthtml等操作
,
xssFilterRules
:
true
//input xss过滤
,
inputXssFilter
:
true
//output xss过滤
,
outputXssFilter
:
true
// xss过滤白名单 名单来源: https://raw.githubusercontent.com/leizongmin/js-xss/master/lib/default.js
,
whitList
:
{
a
:
[
'target'
,
'href'
,
'title'
,
'class'
,
'style'
],
abbr
:
[
'title'
,
'class'
,
'style'
],
address
:
[
'class'
,
'style'
],
area
:
[
'shape'
,
'coords'
,
'href'
,
'alt'
],
article
:
[],
aside
:
[],
audio
:
[
'autoplay'
,
'controls'
,
'loop'
,
'preload'
,
'src'
,
'class'
,
'style'
],
b
:
[
'class'
,
'style'
],
bdi
:
[
'dir'
],
bdo
:
[
'dir'
],
big
:
[],
blockquote
:
[
'cite'
,
'class'
,
'style'
],
br
:
[],
caption
:
[
'class'
,
'style'
],
center
:
[],
cite
:
[],
code
:
[
'class'
,
'style'
],
col
:
[
'align'
,
'valign'
,
'span'
,
'width'
,
'class'
,
'style'
],
colgroup
:
[
'align'
,
'valign'
,
'span'
,
'width'
,
'class'
,
'style'
],
dd
:
[
'class'
,
'style'
],
del
:
[
'datetime'
],
details
:
[
'open'
],
div
:
[
'class'
,
'style'
],
dl
:
[
'class'
,
'style'
],
dt
:
[
'class'
,
'style'
],
em
:
[
'class'
,
'style'
],
font
:
[
'color'
,
'size'
,
'face'
],
footer
:
[],
h1
:
[
'class'
,
'style'
],
h2
:
[
'class'
,
'style'
],
h3
:
[
'class'
,
'style'
],
h4
:
[
'class'
,
'style'
],
h5
:
[
'class'
,
'style'
],
h6
:
[
'class'
,
'style'
],
header
:
[],
hr
:
[],
i
:
[
'class'
,
'style'
],
img
:
[
'src'
,
'alt'
,
'title'
,
'width'
,
'height'
,
'id'
,
'_src'
,
'loadingclass'
,
'class'
,
'data-latex'
],
ins
:
[
'datetime'
],
li
:
[
'class'
,
'style'
],
mark
:
[],
nav
:
[],
ol
:
[
'class'
,
'style'
],
p
:
[
'class'
,
'style'
],
pre
:
[
'class'
,
'style'
],
s
:
[],
section
:
[],
small
:
[],
span
:
[
'class'
,
'style'
],
sub
:
[
'class'
,
'style'
],
sup
:
[
'class'
,
'style'
],
strong
:
[
'class'
,
'style'
],
table
:
[
'width'
,
'border'
,
'align'
,
'valign'
,
'class'
,
'style'
],
tbody
:
[
'align'
,
'valign'
,
'class'
,
'style'
],
td
:
[
'width'
,
'rowspan'
,
'colspan'
,
'align'
,
'valign'
,
'class'
,
'style'
],
tfoot
:
[
'align'
,
'valign'
,
'class'
,
'style'
],
th
:
[
'width'
,
'rowspan'
,
'colspan'
,
'align'
,
'valign'
,
'class'
,
'style'
],
thead
:
[
'align'
,
'valign'
,
'class'
,
'style'
],
tr
:
[
'rowspan'
,
'align'
,
'valign'
,
'class'
,
'style'
],
tt
:
[],
u
:
[],
ul
:
[
'class'
,
'style'
],
video
:
[
'autoplay'
,
'controls'
,
'loop'
,
'preload'
,
'src'
,
'height'
,
'width'
,
'class'
,
'style'
]
}
}
};
function
getConfigFilePath
()
{
var
configPath
=
document
.
getElementsByTagName
(
'script'
);
return
configPath
[
configPath
.
length
-
1
].
src
;
}
function
getUEBasePath
(
docUrl
,
confUrl
)
{
return
getBasePath
(
docUrl
||
self
.
document
.
URL
||
self
.
location
.
href
,
confUrl
||
getConfigFilePath
());
}
function
getConfigFilePath
()
{
function
getBasePath
(
docUrl
,
confUrl
)
{
var
configPath
=
document
.
getElementsByTagName
(
'script'
);
var
basePath
=
confUrl
;
return
configPath
[
configPath
.
length
-
1
].
src
;
}
function
getBasePath
(
docUrl
,
confUrl
)
{
if
(
/^
(\/
|
\\\\)
/
.
test
(
confUrl
))
{
var
basePath
=
confUrl
;
basePath
=
/^.+
?\w(\/
|
\\\\)
/
.
exec
(
docUrl
)[
0
]
+
confUrl
.
replace
(
/^
(\/
|
\\\\)
/
,
''
);
}
else
if
(
!
/^
[
a-z
]
+:/i
.
test
(
confUrl
))
{
if
(
/^
(\/
|
\\\\)
/
.
test
(
confUrl
))
{
docUrl
=
docUrl
.
split
(
"#"
)[
0
].
split
(
"?"
)[
0
].
replace
(
/
[^\\\/]
+$
/
,
''
);
basePath
=
/^.+
?\w(\/
|
\\\\)
/
.
exec
(
docUrl
)[
0
]
+
confUrl
.
replace
(
/^
(\/
|
\\\\)
/
,
''
);
basePath
=
docUrl
+
""
+
confUrl
;
}
else
if
(
!
/^
[
a-z
]
+:/i
.
test
(
confUrl
))
{
}
docUrl
=
docUrl
.
split
(
"#"
)[
0
].
split
(
"?"
)[
0
].
replace
(
/
[^\\\/]
+$/
,
''
);
return
optimizationPath
(
basePath
)
;
basePath
=
docUrl
+
""
+
confUrl
;
}
}
function
optimizationPath
(
path
)
{
return
optimizationPath
(
basePath
);
var
protocol
=
/^
[
a-z
]
+:
\/\/
/
.
exec
(
path
)[
0
],
}
tmp
=
null
,
res
=
[];
path
=
path
.
replace
(
protocol
,
""
).
split
(
"?"
)[
0
].
split
(
"#"
)[
0
];
function
optimizationPath
(
path
)
{
path
=
path
.
replace
(
/
\\
/g
,
'/'
).
split
(
/
\/
/
);
var
protocol
=
/^
[
a-z
]
+:
\/\/
/
.
exec
(
path
)[
0
],
tmp
=
null
,
res
=
[];
path
[
path
.
length
-
1
]
=
""
;
path
=
path
.
replace
(
protocol
,
""
).
split
(
"?"
)[
0
].
split
(
"#"
)[
0
]
;
while
(
path
.
length
)
{
path
=
path
.
replace
(
/
\\
/g
,
'/'
).
split
(
/
\/
/
);
if
((
tmp
=
path
.
shift
()
)
===
".."
)
{
path
[
path
.
length
-
1
]
=
""
;
res
.
pop
();
}
else
if
(
tmp
!==
"."
)
{
res
.
push
(
tmp
);
}
}
while
(
path
.
length
)
{
return
protocol
+
res
.
join
(
"/"
);
if
((
tmp
=
path
.
shift
())
===
".."
)
{
res
.
pop
();
}
else
if
(
tmp
!==
"."
)
{
res
.
push
(
tmp
);
}
}
}
window
.
UE
=
{
return
protocol
+
res
.
join
(
"/"
);
getUEBasePath
:
getUEBasePath
};
}
window
.
UE
=
{
getUEBasePath
:
getUEBasePath
};
})();
})();
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