@lingxiteam/lcdp-ueditor-react 1.0.3-alpha.4 → 1.0.3-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/LcdpUeditor.js +52 -40
- package/es/const.js +4 -4
- package/es/defaultConfig.json +76 -76
- package/es/tools/UeditorResourceLoader.js +6 -6
- package/es/tools/loadScript.js +3 -3
- package/lib/LcdpUeditor.js +16 -5
- package/lib/defaultConfig.json +76 -76
- package/package.json +35 -35
- package/ueditor-resource/dialogs/anchor/anchor.html +62 -62
- package/ueditor-resource/dialogs/attachment/attachment.css +2 -2
- package/ueditor-resource/dialogs/attachment/attachment.html +61 -61
- package/ueditor-resource/dialogs/audio/audio.css +2 -2
- package/ueditor-resource/dialogs/audio/audio.html +93 -93
- package/ueditor-resource/dialogs/background/background.css +2 -2
- package/ueditor-resource/dialogs/background/background.html +59 -59
- package/ueditor-resource/dialogs/contentimport/contentimport.html +176 -176
- package/ueditor-resource/dialogs/emotion/emotion.css +2 -2
- package/ueditor-resource/dialogs/emotion/emotion.html +70 -70
- package/ueditor-resource/dialogs/formula/formula.html +98 -98
- package/ueditor-resource/dialogs/help/help.css +2 -2
- package/ueditor-resource/dialogs/help/help.html +82 -82
- package/ueditor-resource/dialogs/image/image.css +2 -2
- package/ueditor-resource/dialogs/image/image.html +144 -144
- package/ueditor-resource/dialogs/insertframe/insertframe.html +135 -135
- package/ueditor-resource/dialogs/link/link.html +148 -148
- package/ueditor-resource/dialogs/preview/preview.html +45 -45
- package/ueditor-resource/dialogs/scrawl/scrawl.css +2 -2
- package/ueditor-resource/dialogs/scrawl/scrawl.html +95 -95
- package/ueditor-resource/dialogs/searchreplace/searchreplace.html +144 -144
- package/ueditor-resource/dialogs/spechars/spechars.html +42 -42
- package/ueditor-resource/dialogs/table/edittable.css +2 -2
- package/ueditor-resource/dialogs/table/edittable.html +69 -69
- package/ueditor-resource/dialogs/table/edittd.html +62 -62
- package/ueditor-resource/dialogs/table/edittip.html +33 -33
- package/ueditor-resource/dialogs/template/template.css +2 -2
- package/ueditor-resource/dialogs/template/template.html +26 -26
- package/ueditor-resource/dialogs/video/video.css +2 -2
- package/ueditor-resource/dialogs/video/video.html +114 -114
- package/ueditor-resource/dialogs/wordimage/wordimage.html +221 -221
- package/ueditor-resource/themes/default/css/ueditor.css +2 -2
- package/ueditor-resource/themes/default/dialog.css +2 -2
- package/ueditor-resource/themes/default/dialogbase.css +2 -2
- package/ueditor-resource/themes/default/exts/ai.svg +12 -12
- package/ueditor-resource/themes/default/exts/apk.svg +12 -12
- package/ueditor-resource/themes/default/exts/chm.svg +12 -12
- package/ueditor-resource/themes/default/exts/css.svg +12 -12
- package/ueditor-resource/themes/default/exts/doc.svg +22 -22
- package/ueditor-resource/themes/default/exts/docx.svg +22 -22
- package/ueditor-resource/themes/default/exts/dwg.svg +16 -16
- package/ueditor-resource/themes/default/exts/folder.svg +3 -3
- package/ueditor-resource/themes/default/exts/gif.svg +14 -14
- package/ueditor-resource/themes/default/exts/html.svg +12 -12
- package/ueditor-resource/themes/default/exts/jpeg.svg +14 -14
- package/ueditor-resource/themes/default/exts/jpg.svg +14 -14
- package/ueditor-resource/themes/default/exts/log.svg +12 -12
- package/ueditor-resource/themes/default/exts/mp3.svg +14 -14
- package/ueditor-resource/themes/default/exts/mp4.svg +12 -12
- package/ueditor-resource/themes/default/exts/pdf.svg +14 -14
- package/ueditor-resource/themes/default/exts/png.svg +14 -14
- package/ueditor-resource/themes/default/exts/ppt.svg +24 -24
- package/ueditor-resource/themes/default/exts/pptx.svg +24 -24
- package/ueditor-resource/themes/default/exts/psd.svg +12 -12
- package/ueditor-resource/themes/default/exts/rar.svg +12 -12
- package/ueditor-resource/themes/default/exts/svg.svg +12 -12
- package/ueditor-resource/themes/default/exts/torrent.svg +14 -14
- package/ueditor-resource/themes/default/exts/txt.svg +14 -14
- package/ueditor-resource/themes/default/exts/unknown.svg +12 -12
- package/ueditor-resource/themes/default/exts/xls.svg +25 -25
- package/ueditor-resource/themes/default/exts/xlsx.svg +25 -25
- package/ueditor-resource/themes/default/exts/zip.svg +12 -12
- package/ueditor-resource/themes/iframe.css +2 -2
- package/ueditor-resource/third-party/SyntaxHighlighter/shCoreDefault.css +2 -2
- package/ueditor-resource/third-party/codemirror/codemirror.css +2 -2
- package/ueditor-resource/third-party/webuploader/webuploader.css +2 -2
- package/ueditor-resource/third-party/zeroclipboard/ZeroClipboard.js +1255 -1255
- package/ueditor-resource/ueditor.all.js +3 -3
|
@@ -1,144 +1,144 @@
|
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
2
|
-
"http://www.w3.org/TR/html4/loose.dtd">
|
|
3
|
-
<html>
|
|
4
|
-
<head>
|
|
5
|
-
<title></title>
|
|
6
|
-
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
|
7
|
-
<script type="text/javascript" src="../internal.js?04dbe7f0"></script>
|
|
8
|
-
<style type="text/css">
|
|
9
|
-
.warpper {
|
|
10
|
-
position: relative;
|
|
11
|
-
width: 380px;
|
|
12
|
-
height: 100%;
|
|
13
|
-
margin: 10px auto;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.tabbody {
|
|
17
|
-
height: 160px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.tabbody table {
|
|
21
|
-
width: 100%;
|
|
22
|
-
border-collapse: separate;
|
|
23
|
-
border-spacing: 3px;
|
|
24
|
-
line-height: 36px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.tabbody .panel {
|
|
28
|
-
width: 373px;
|
|
29
|
-
height: 100%;
|
|
30
|
-
padding-left: 5px;
|
|
31
|
-
position: absolute;
|
|
32
|
-
background-color: #fff;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.tabbody input.int {
|
|
36
|
-
width: 190px;
|
|
37
|
-
height: 30px;
|
|
38
|
-
border: 1px solid #d7d7d7;
|
|
39
|
-
line-height: 21px;
|
|
40
|
-
border-radius: 3px;
|
|
41
|
-
outline: none;
|
|
42
|
-
padding: 0 5px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.tabbody input.btn {
|
|
46
|
-
text-align: center;
|
|
47
|
-
line-height: 28px;
|
|
48
|
-
text-decoration: none;
|
|
49
|
-
height: 30px;
|
|
50
|
-
border: 1px solid #ccc;
|
|
51
|
-
background: #FFF;
|
|
52
|
-
border-radius: 3px;
|
|
53
|
-
padding: 0 5px;
|
|
54
|
-
font-size: 12px;
|
|
55
|
-
cursor: pointer;
|
|
56
|
-
}
|
|
57
|
-
</style>
|
|
58
|
-
</head>
|
|
59
|
-
<body>
|
|
60
|
-
<div class="warpper" id="searchtab">
|
|
61
|
-
<div id="head" class="tabhead">
|
|
62
|
-
<span tabsrc="find" class="focus"><var id="lang_tab_search"></var></span>
|
|
63
|
-
<span tabsrc="replace"><var id="lang_tab_replace"></var></span>
|
|
64
|
-
</div>
|
|
65
|
-
<div class="tabbody">
|
|
66
|
-
<div class="panel" id="find">
|
|
67
|
-
<table>
|
|
68
|
-
<tr>
|
|
69
|
-
<td width="80"><var id="lang_search1"></var>:</td>
|
|
70
|
-
<td><input id="findtxt" type="text" class="int"/></td>
|
|
71
|
-
</tr>
|
|
72
|
-
<!--<tr>-->
|
|
73
|
-
|
|
74
|
-
<!--<td colspan="2"><span style="color:red"><var id="lang_searchReg"></var></span></td>-->
|
|
75
|
-
<!--</tr>-->
|
|
76
|
-
<tr>
|
|
77
|
-
<td><var id="lang_case_sensitive1"></var></td>
|
|
78
|
-
<td>
|
|
79
|
-
<input id="matchCase" type="checkbox"/>
|
|
80
|
-
</td>
|
|
81
|
-
</tr>
|
|
82
|
-
<tr>
|
|
83
|
-
<td colspan="2">
|
|
84
|
-
<input id="nextFindBtn" type="button" class="btn"/>
|
|
85
|
-
<input id="preFindBtn" type="button" class="btn"/>
|
|
86
|
-
</td>
|
|
87
|
-
</tr>
|
|
88
|
-
<tr>
|
|
89
|
-
<td colspan="2">
|
|
90
|
-
|
|
91
|
-
</td>
|
|
92
|
-
</tr>
|
|
93
|
-
<tr>
|
|
94
|
-
<td colspan="2">
|
|
95
|
-
<span id="search-msg" style="color:red"></span>
|
|
96
|
-
</td>
|
|
97
|
-
</tr>
|
|
98
|
-
</table>
|
|
99
|
-
</div>
|
|
100
|
-
<div class="panel" id="replace">
|
|
101
|
-
<table>
|
|
102
|
-
<tr>
|
|
103
|
-
<td width="80"><var id="lang_search2"></var>:</td>
|
|
104
|
-
<td><input id="findtxt1" type="text" class="int"/></td>
|
|
105
|
-
</tr>
|
|
106
|
-
<!--<tr>-->
|
|
107
|
-
|
|
108
|
-
<!--<td colspan="2"><span style="color:red"><var id="lang_searchReg1"></var></span></td>-->
|
|
109
|
-
<!--</tr>-->
|
|
110
|
-
<tr>
|
|
111
|
-
<td><var id="lang_replace"></var>:</td>
|
|
112
|
-
<td><input id="replacetxt" type="text" class="int"/></td>
|
|
113
|
-
</tr>
|
|
114
|
-
<tr>
|
|
115
|
-
<td><var id="lang_case_sensitive2"></var></td>
|
|
116
|
-
<td>
|
|
117
|
-
<input id="matchCase1" type="checkbox"/>
|
|
118
|
-
</td>
|
|
119
|
-
</tr>
|
|
120
|
-
<tr>
|
|
121
|
-
<td colspan="2">
|
|
122
|
-
<input id="nextReplaceBtn" type="button" class="btn"/>
|
|
123
|
-
<input id="preReplaceBtn" type="button" class="btn"/>
|
|
124
|
-
<input id="repalceBtn" type="button" class="btn"/>
|
|
125
|
-
<input id="repalceAllBtn" type="button" class="btn"/>
|
|
126
|
-
</td>
|
|
127
|
-
</tr>
|
|
128
|
-
<tr>
|
|
129
|
-
<td colspan="2">
|
|
130
|
-
|
|
131
|
-
</td>
|
|
132
|
-
</tr>
|
|
133
|
-
<tr>
|
|
134
|
-
<td colspan="2">
|
|
135
|
-
<span id="replace-msg" style="color:red"></span>
|
|
136
|
-
</td>
|
|
137
|
-
</tr>
|
|
138
|
-
</table>
|
|
139
|
-
</div>
|
|
140
|
-
</div>
|
|
141
|
-
</div>
|
|
142
|
-
<script type="text/javascript" src="searchreplace.js?54c26e9a"></script>
|
|
143
|
-
</body>
|
|
144
|
-
</html>
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/html4/loose.dtd">
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<title></title>
|
|
6
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
|
7
|
+
<script type="text/javascript" src="../internal.js?04dbe7f0"></script>
|
|
8
|
+
<style type="text/css">
|
|
9
|
+
.warpper {
|
|
10
|
+
position: relative;
|
|
11
|
+
width: 380px;
|
|
12
|
+
height: 100%;
|
|
13
|
+
margin: 10px auto;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.tabbody {
|
|
17
|
+
height: 160px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.tabbody table {
|
|
21
|
+
width: 100%;
|
|
22
|
+
border-collapse: separate;
|
|
23
|
+
border-spacing: 3px;
|
|
24
|
+
line-height: 36px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.tabbody .panel {
|
|
28
|
+
width: 373px;
|
|
29
|
+
height: 100%;
|
|
30
|
+
padding-left: 5px;
|
|
31
|
+
position: absolute;
|
|
32
|
+
background-color: #fff;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.tabbody input.int {
|
|
36
|
+
width: 190px;
|
|
37
|
+
height: 30px;
|
|
38
|
+
border: 1px solid #d7d7d7;
|
|
39
|
+
line-height: 21px;
|
|
40
|
+
border-radius: 3px;
|
|
41
|
+
outline: none;
|
|
42
|
+
padding: 0 5px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.tabbody input.btn {
|
|
46
|
+
text-align: center;
|
|
47
|
+
line-height: 28px;
|
|
48
|
+
text-decoration: none;
|
|
49
|
+
height: 30px;
|
|
50
|
+
border: 1px solid #ccc;
|
|
51
|
+
background: #FFF;
|
|
52
|
+
border-radius: 3px;
|
|
53
|
+
padding: 0 5px;
|
|
54
|
+
font-size: 12px;
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
}
|
|
57
|
+
</style>
|
|
58
|
+
</head>
|
|
59
|
+
<body>
|
|
60
|
+
<div class="warpper" id="searchtab">
|
|
61
|
+
<div id="head" class="tabhead">
|
|
62
|
+
<span tabsrc="find" class="focus"><var id="lang_tab_search"></var></span>
|
|
63
|
+
<span tabsrc="replace"><var id="lang_tab_replace"></var></span>
|
|
64
|
+
</div>
|
|
65
|
+
<div class="tabbody">
|
|
66
|
+
<div class="panel" id="find">
|
|
67
|
+
<table>
|
|
68
|
+
<tr>
|
|
69
|
+
<td width="80"><var id="lang_search1"></var>:</td>
|
|
70
|
+
<td><input id="findtxt" type="text" class="int"/></td>
|
|
71
|
+
</tr>
|
|
72
|
+
<!--<tr>-->
|
|
73
|
+
|
|
74
|
+
<!--<td colspan="2"><span style="color:red"><var id="lang_searchReg"></var></span></td>-->
|
|
75
|
+
<!--</tr>-->
|
|
76
|
+
<tr>
|
|
77
|
+
<td><var id="lang_case_sensitive1"></var></td>
|
|
78
|
+
<td>
|
|
79
|
+
<input id="matchCase" type="checkbox"/>
|
|
80
|
+
</td>
|
|
81
|
+
</tr>
|
|
82
|
+
<tr>
|
|
83
|
+
<td colspan="2">
|
|
84
|
+
<input id="nextFindBtn" type="button" class="btn"/>
|
|
85
|
+
<input id="preFindBtn" type="button" class="btn"/>
|
|
86
|
+
</td>
|
|
87
|
+
</tr>
|
|
88
|
+
<tr>
|
|
89
|
+
<td colspan="2">
|
|
90
|
+
|
|
91
|
+
</td>
|
|
92
|
+
</tr>
|
|
93
|
+
<tr>
|
|
94
|
+
<td colspan="2">
|
|
95
|
+
<span id="search-msg" style="color:red"></span>
|
|
96
|
+
</td>
|
|
97
|
+
</tr>
|
|
98
|
+
</table>
|
|
99
|
+
</div>
|
|
100
|
+
<div class="panel" id="replace">
|
|
101
|
+
<table>
|
|
102
|
+
<tr>
|
|
103
|
+
<td width="80"><var id="lang_search2"></var>:</td>
|
|
104
|
+
<td><input id="findtxt1" type="text" class="int"/></td>
|
|
105
|
+
</tr>
|
|
106
|
+
<!--<tr>-->
|
|
107
|
+
|
|
108
|
+
<!--<td colspan="2"><span style="color:red"><var id="lang_searchReg1"></var></span></td>-->
|
|
109
|
+
<!--</tr>-->
|
|
110
|
+
<tr>
|
|
111
|
+
<td><var id="lang_replace"></var>:</td>
|
|
112
|
+
<td><input id="replacetxt" type="text" class="int"/></td>
|
|
113
|
+
</tr>
|
|
114
|
+
<tr>
|
|
115
|
+
<td><var id="lang_case_sensitive2"></var></td>
|
|
116
|
+
<td>
|
|
117
|
+
<input id="matchCase1" type="checkbox"/>
|
|
118
|
+
</td>
|
|
119
|
+
</tr>
|
|
120
|
+
<tr>
|
|
121
|
+
<td colspan="2">
|
|
122
|
+
<input id="nextReplaceBtn" type="button" class="btn"/>
|
|
123
|
+
<input id="preReplaceBtn" type="button" class="btn"/>
|
|
124
|
+
<input id="repalceBtn" type="button" class="btn"/>
|
|
125
|
+
<input id="repalceAllBtn" type="button" class="btn"/>
|
|
126
|
+
</td>
|
|
127
|
+
</tr>
|
|
128
|
+
<tr>
|
|
129
|
+
<td colspan="2">
|
|
130
|
+
|
|
131
|
+
</td>
|
|
132
|
+
</tr>
|
|
133
|
+
<tr>
|
|
134
|
+
<td colspan="2">
|
|
135
|
+
<span id="replace-msg" style="color:red"></span>
|
|
136
|
+
</td>
|
|
137
|
+
</tr>
|
|
138
|
+
</table>
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
142
|
+
<script type="text/javascript" src="searchreplace.js?54c26e9a"></script>
|
|
143
|
+
</body>
|
|
144
|
+
</html>
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
2
|
-
"http://www.w3.org/TR/html4/loose.dtd">
|
|
3
|
-
<html>
|
|
4
|
-
<head>
|
|
5
|
-
<title></title>
|
|
6
|
-
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
|
|
7
|
-
<script type="text/javascript" src="../internal.js?04dbe7f0"></script>
|
|
8
|
-
<style type="text/css">
|
|
9
|
-
html, body {
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
#specharsTab {
|
|
14
|
-
width: 97%;
|
|
15
|
-
margin: 10px auto;
|
|
16
|
-
zoom: 1;
|
|
17
|
-
position: relative
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.tabbody {
|
|
21
|
-
height: 447px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.tabbody span {
|
|
25
|
-
margin: 5px 3px;
|
|
26
|
-
text-align: center;
|
|
27
|
-
display: inline-block;
|
|
28
|
-
width: 40px;
|
|
29
|
-
height: 16px;
|
|
30
|
-
line-height: 16px;
|
|
31
|
-
cursor: pointer;
|
|
32
|
-
}
|
|
33
|
-
</style>
|
|
34
|
-
</head>
|
|
35
|
-
<body>
|
|
36
|
-
<div id="specharsTab">
|
|
37
|
-
<div id="tabHeads" class="tabhead"></div>
|
|
38
|
-
<div id="tabBodys" class="tabbody"></div>
|
|
39
|
-
</div>
|
|
40
|
-
<script type="text/javascript" src="spechars.js?78a9bbd0"></script>
|
|
41
|
-
</body>
|
|
42
|
-
</html>
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/html4/loose.dtd">
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<title></title>
|
|
6
|
+
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
|
|
7
|
+
<script type="text/javascript" src="../internal.js?04dbe7f0"></script>
|
|
8
|
+
<style type="text/css">
|
|
9
|
+
html, body {
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
#specharsTab {
|
|
14
|
+
width: 97%;
|
|
15
|
+
margin: 10px auto;
|
|
16
|
+
zoom: 1;
|
|
17
|
+
position: relative
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.tabbody {
|
|
21
|
+
height: 447px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.tabbody span {
|
|
25
|
+
margin: 5px 3px;
|
|
26
|
+
text-align: center;
|
|
27
|
+
display: inline-block;
|
|
28
|
+
width: 40px;
|
|
29
|
+
height: 16px;
|
|
30
|
+
line-height: 16px;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
}
|
|
33
|
+
</style>
|
|
34
|
+
</head>
|
|
35
|
+
<body>
|
|
36
|
+
<div id="specharsTab">
|
|
37
|
+
<div id="tabHeads" class="tabhead"></div>
|
|
38
|
+
<div id="tabBodys" class="tabbody"></div>
|
|
39
|
+
</div>
|
|
40
|
+
<script type="text/javascript" src="spechars.js?78a9bbd0"></script>
|
|
41
|
+
</body>
|
|
42
|
+
</html>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! UEditorPlus v2.0.0*/
|
|
2
|
-
|
|
1
|
+
/*! UEditorPlus v2.0.0*/
|
|
2
|
+
|
|
3
3
|
body{overflow:hidden;width:540px}.wrapper{margin:10px auto 0;font-size:12px;overflow:hidden;width:520px;height:315px}.clear{clear:both}.wrapper .left{float:left;margin-left:10px}.wrapper .right{float:right;border-left:2px dotted #EDEDED;padding-left:15px}.section{margin-bottom:15px;width:240px;overflow:hidden}.section h3{font-weight:700;padding:5px 0;margin-bottom:10px;border-bottom:1px solid #EDEDED;font-size:12px}.section ul{list-style:none;overflow:hidden;clear:both}.section li{float:left;width:120px}.section .tone{width:80px}.section .preview{width:220px}.section .preview table{text-align:center;vertical-align:middle;color:#666}.section .preview caption{font-weight:700}.section .preview td{border-width:1px;border-style:solid;height:22px}.section .preview th{border-style:solid;border-color:#DDD;border-width:2px 1px 1px;height:22px;background-color:#F7F7F7}
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title></title>
|
|
5
|
-
<script type="text/javascript" src="../internal.js?04dbe7f0"></script>
|
|
6
|
-
<link rel="stylesheet" type="text/css" href="edittable.css?
|
|
7
|
-
</head>
|
|
8
|
-
<body>
|
|
9
|
-
<div class="wrapper">
|
|
10
|
-
<div class="left">
|
|
11
|
-
<div class="section">
|
|
12
|
-
<h3><var id="lang_tableStyle"></var></h3>
|
|
13
|
-
<ul>
|
|
14
|
-
<li>
|
|
15
|
-
<label onselectstart="return false"><input type="checkbox" id="J_title" name="style"/><var
|
|
16
|
-
id="lang_insertTitle"></var></label>
|
|
17
|
-
</li>
|
|
18
|
-
<li>
|
|
19
|
-
<label onselectstart="return false"><input type="checkbox" id="J_titleCol" name="style"/><var
|
|
20
|
-
id="lang_insertTitleCol"></var></label>
|
|
21
|
-
</li>
|
|
22
|
-
</ul>
|
|
23
|
-
<ul>
|
|
24
|
-
<li>
|
|
25
|
-
<label onselectstart="return false"><input type="checkbox" id="J_caption" name="style"/><var
|
|
26
|
-
id="lang_insertCaption"></var></label>
|
|
27
|
-
</li>
|
|
28
|
-
<li>
|
|
29
|
-
<label onselectstart="return false"><input type="checkbox" id="J_sorttable" name="style"/><var
|
|
30
|
-
id="lang_orderbycontent"></var></label>
|
|
31
|
-
</li>
|
|
32
|
-
</ul>
|
|
33
|
-
<div class="clear"></div>
|
|
34
|
-
</div>
|
|
35
|
-
<div class="section">
|
|
36
|
-
<h3><var id="lang_tableSize"></var></h3>
|
|
37
|
-
<ul>
|
|
38
|
-
<li>
|
|
39
|
-
<label><input type="radio" id="J_autoSizeContent" name="size"/><var id="lang_autoSizeContent"></var></label>
|
|
40
|
-
</li>
|
|
41
|
-
<li>
|
|
42
|
-
<label><input type="radio" id="J_autoSizePage" name="size"/><var
|
|
43
|
-
id="lang_autoSizePage"></var></label>
|
|
44
|
-
</li>
|
|
45
|
-
</ul>
|
|
46
|
-
<div class="clear"></div>
|
|
47
|
-
</div>
|
|
48
|
-
<div class="section">
|
|
49
|
-
<h3><var id="lang_borderStyle"></var></h3>
|
|
50
|
-
<ul>
|
|
51
|
-
<li>
|
|
52
|
-
<span><var id="lang_color"></var></span>
|
|
53
|
-
<input type="text" class="tone" id="J_tone" readonly='readonly'/>
|
|
54
|
-
</li>
|
|
55
|
-
</ul>
|
|
56
|
-
<div class="clear"></div>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
<div class="right">
|
|
60
|
-
<div class="section">
|
|
61
|
-
<h3><var id="lang_example"></var></h3>
|
|
62
|
-
<div class="preview" id="J_preview">
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
|
-
<script type="text/javascript" src="edittable.js?69ed0ec5"></script>
|
|
68
|
-
</body>
|
|
69
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title></title>
|
|
5
|
+
<script type="text/javascript" src="../internal.js?04dbe7f0"></script>
|
|
6
|
+
<link rel="stylesheet" type="text/css" href="edittable.css?97f6eb5f">
|
|
7
|
+
</head>
|
|
8
|
+
<body>
|
|
9
|
+
<div class="wrapper">
|
|
10
|
+
<div class="left">
|
|
11
|
+
<div class="section">
|
|
12
|
+
<h3><var id="lang_tableStyle"></var></h3>
|
|
13
|
+
<ul>
|
|
14
|
+
<li>
|
|
15
|
+
<label onselectstart="return false"><input type="checkbox" id="J_title" name="style"/><var
|
|
16
|
+
id="lang_insertTitle"></var></label>
|
|
17
|
+
</li>
|
|
18
|
+
<li>
|
|
19
|
+
<label onselectstart="return false"><input type="checkbox" id="J_titleCol" name="style"/><var
|
|
20
|
+
id="lang_insertTitleCol"></var></label>
|
|
21
|
+
</li>
|
|
22
|
+
</ul>
|
|
23
|
+
<ul>
|
|
24
|
+
<li>
|
|
25
|
+
<label onselectstart="return false"><input type="checkbox" id="J_caption" name="style"/><var
|
|
26
|
+
id="lang_insertCaption"></var></label>
|
|
27
|
+
</li>
|
|
28
|
+
<li>
|
|
29
|
+
<label onselectstart="return false"><input type="checkbox" id="J_sorttable" name="style"/><var
|
|
30
|
+
id="lang_orderbycontent"></var></label>
|
|
31
|
+
</li>
|
|
32
|
+
</ul>
|
|
33
|
+
<div class="clear"></div>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="section">
|
|
36
|
+
<h3><var id="lang_tableSize"></var></h3>
|
|
37
|
+
<ul>
|
|
38
|
+
<li>
|
|
39
|
+
<label><input type="radio" id="J_autoSizeContent" name="size"/><var id="lang_autoSizeContent"></var></label>
|
|
40
|
+
</li>
|
|
41
|
+
<li>
|
|
42
|
+
<label><input type="radio" id="J_autoSizePage" name="size"/><var
|
|
43
|
+
id="lang_autoSizePage"></var></label>
|
|
44
|
+
</li>
|
|
45
|
+
</ul>
|
|
46
|
+
<div class="clear"></div>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="section">
|
|
49
|
+
<h3><var id="lang_borderStyle"></var></h3>
|
|
50
|
+
<ul>
|
|
51
|
+
<li>
|
|
52
|
+
<span><var id="lang_color"></var></span>
|
|
53
|
+
<input type="text" class="tone" id="J_tone" readonly='readonly'/>
|
|
54
|
+
</li>
|
|
55
|
+
</ul>
|
|
56
|
+
<div class="clear"></div>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="right">
|
|
60
|
+
<div class="section">
|
|
61
|
+
<h3><var id="lang_example"></var></h3>
|
|
62
|
+
<div class="preview" id="J_preview">
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
<script type="text/javascript" src="edittable.js?69ed0ec5"></script>
|
|
68
|
+
</body>
|
|
69
|
+
</html>
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title></title>
|
|
5
|
-
<script type="text/javascript" src="../internal.js?04dbe7f0"></script>
|
|
6
|
-
<style type="text/css">
|
|
7
|
-
.section {
|
|
8
|
-
text-align: center;
|
|
9
|
-
margin-top: 10px;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.section input {
|
|
13
|
-
margin-left: 5px;
|
|
14
|
-
width: 70px;
|
|
15
|
-
}
|
|
16
|
-
</style>
|
|
17
|
-
</head>
|
|
18
|
-
<body>
|
|
19
|
-
<div class="section">
|
|
20
|
-
<span><var id="lang_tdBkColor"></var></span>
|
|
21
|
-
<input type="text" id="J_tone"/>
|
|
22
|
-
</div>
|
|
23
|
-
<script type="text/javascript">
|
|
24
|
-
var tone = $G("J_tone"),
|
|
25
|
-
colorPiker = new UE.ui.ColorPicker({
|
|
26
|
-
editor: editor
|
|
27
|
-
}),
|
|
28
|
-
colorPop = new UE.ui.Popup({
|
|
29
|
-
editor: editor,
|
|
30
|
-
content: colorPiker
|
|
31
|
-
});
|
|
32
|
-
domUtils.on(tone, "click", function () {
|
|
33
|
-
colorPop.showAnchor(tone);
|
|
34
|
-
});
|
|
35
|
-
domUtils.on(document, 'mousedown', function () {
|
|
36
|
-
colorPop.hide();
|
|
37
|
-
});
|
|
38
|
-
colorPiker.addListener("pickcolor", function () {
|
|
39
|
-
tone.value = arguments[1];
|
|
40
|
-
colorPop.hide();
|
|
41
|
-
});
|
|
42
|
-
colorPiker.addListener("picknocolor", function () {
|
|
43
|
-
tone.value = "";
|
|
44
|
-
colorPop.hide();
|
|
45
|
-
});
|
|
46
|
-
dialog.onok = function () {
|
|
47
|
-
editor.execCommand("edittd", tone.value);
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
var start = editor.selection.getStart(),
|
|
51
|
-
cell = start && domUtils.findParentByTagName(start, ["td", "th"], true);
|
|
52
|
-
if (cell) {
|
|
53
|
-
var color = domUtils.getComputedStyle(cell, 'background-color');
|
|
54
|
-
if (/^#/.test(color)) {
|
|
55
|
-
tone.value = color
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
</script>
|
|
61
|
-
</body>
|
|
62
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title></title>
|
|
5
|
+
<script type="text/javascript" src="../internal.js?04dbe7f0"></script>
|
|
6
|
+
<style type="text/css">
|
|
7
|
+
.section {
|
|
8
|
+
text-align: center;
|
|
9
|
+
margin-top: 10px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.section input {
|
|
13
|
+
margin-left: 5px;
|
|
14
|
+
width: 70px;
|
|
15
|
+
}
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
<body>
|
|
19
|
+
<div class="section">
|
|
20
|
+
<span><var id="lang_tdBkColor"></var></span>
|
|
21
|
+
<input type="text" id="J_tone"/>
|
|
22
|
+
</div>
|
|
23
|
+
<script type="text/javascript">
|
|
24
|
+
var tone = $G("J_tone"),
|
|
25
|
+
colorPiker = new UE.ui.ColorPicker({
|
|
26
|
+
editor: editor
|
|
27
|
+
}),
|
|
28
|
+
colorPop = new UE.ui.Popup({
|
|
29
|
+
editor: editor,
|
|
30
|
+
content: colorPiker
|
|
31
|
+
});
|
|
32
|
+
domUtils.on(tone, "click", function () {
|
|
33
|
+
colorPop.showAnchor(tone);
|
|
34
|
+
});
|
|
35
|
+
domUtils.on(document, 'mousedown', function () {
|
|
36
|
+
colorPop.hide();
|
|
37
|
+
});
|
|
38
|
+
colorPiker.addListener("pickcolor", function () {
|
|
39
|
+
tone.value = arguments[1];
|
|
40
|
+
colorPop.hide();
|
|
41
|
+
});
|
|
42
|
+
colorPiker.addListener("picknocolor", function () {
|
|
43
|
+
tone.value = "";
|
|
44
|
+
colorPop.hide();
|
|
45
|
+
});
|
|
46
|
+
dialog.onok = function () {
|
|
47
|
+
editor.execCommand("edittd", tone.value);
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
var start = editor.selection.getStart(),
|
|
51
|
+
cell = start && domUtils.findParentByTagName(start, ["td", "th"], true);
|
|
52
|
+
if (cell) {
|
|
53
|
+
var color = domUtils.getComputedStyle(cell, 'background-color');
|
|
54
|
+
if (/^#/.test(color)) {
|
|
55
|
+
tone.value = color
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
</script>
|
|
61
|
+
</body>
|
|
62
|
+
</html>
|