@lingxiteam/lcdp-ueditor-react 1.0.0-alpha.1
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.d.ts +74 -0
- package/es/LcdpUeditor.js +335 -0
- package/es/const.d.ts +12 -0
- package/es/const.js +19 -0
- package/es/defaultConfig.json +77 -0
- package/es/index.d.ts +4 -0
- package/es/index.js +3 -0
- package/es/tools/UeditorResourceLoader.d.ts +21 -0
- package/es/tools/UeditorResourceLoader.js +114 -0
- package/es/tools/loadScript.d.ts +5 -0
- package/es/tools/loadScript.js +54 -0
- package/es/type.d.ts +142 -0
- package/es/type.js +1 -0
- package/package.json +32 -0
- package/ueditor-resource/dialogs/anchor/anchor.html +62 -0
- package/ueditor-resource/dialogs/attachment/attachment.css +716 -0
- package/ueditor-resource/dialogs/attachment/attachment.html +61 -0
- package/ueditor-resource/dialogs/attachment/attachment.js +803 -0
- package/ueditor-resource/dialogs/attachment/images/alignicon.gif +0 -0
- package/ueditor-resource/dialogs/attachment/images/alignicon.png +0 -0
- package/ueditor-resource/dialogs/attachment/images/bg.png +0 -0
- package/ueditor-resource/dialogs/attachment/images/file-icons.gif +0 -0
- package/ueditor-resource/dialogs/attachment/images/file-icons.png +0 -0
- package/ueditor-resource/dialogs/attachment/images/icons.gif +0 -0
- package/ueditor-resource/dialogs/attachment/images/icons.png +0 -0
- package/ueditor-resource/dialogs/attachment/images/image.png +0 -0
- package/ueditor-resource/dialogs/attachment/images/progress.png +0 -0
- package/ueditor-resource/dialogs/attachment/images/success.gif +0 -0
- package/ueditor-resource/dialogs/attachment/images/success.png +0 -0
- package/ueditor-resource/dialogs/audio/audio.css +879 -0
- package/ueditor-resource/dialogs/audio/audio.html +94 -0
- package/ueditor-resource/dialogs/audio/audio.js +815 -0
- package/ueditor-resource/dialogs/audio/icon/center-active.png +0 -0
- package/ueditor-resource/dialogs/audio/icon/center.png +0 -0
- package/ueditor-resource/dialogs/audio/icon/img.png +0 -0
- package/ueditor-resource/dialogs/audio/icon/left-active.png +0 -0
- package/ueditor-resource/dialogs/audio/icon/left.png +0 -0
- package/ueditor-resource/dialogs/audio/icon/none-active.png +0 -0
- package/ueditor-resource/dialogs/audio/icon/none.png +0 -0
- package/ueditor-resource/dialogs/audio/icon/right-active.png +0 -0
- package/ueditor-resource/dialogs/audio/icon/right.png +0 -0
- package/ueditor-resource/dialogs/audio/images/bg.png +0 -0
- package/ueditor-resource/dialogs/audio/images/center_focus.jpg +0 -0
- package/ueditor-resource/dialogs/audio/images/file-icons.gif +0 -0
- package/ueditor-resource/dialogs/audio/images/file-icons.png +0 -0
- package/ueditor-resource/dialogs/audio/images/icons.gif +0 -0
- package/ueditor-resource/dialogs/audio/images/icons.png +0 -0
- package/ueditor-resource/dialogs/audio/images/image.png +0 -0
- package/ueditor-resource/dialogs/audio/images/left_focus.jpg +0 -0
- package/ueditor-resource/dialogs/audio/images/none_focus.jpg +0 -0
- package/ueditor-resource/dialogs/audio/images/progress.png +0 -0
- package/ueditor-resource/dialogs/audio/images/right_focus.jpg +0 -0
- package/ueditor-resource/dialogs/audio/images/success.gif +0 -0
- package/ueditor-resource/dialogs/audio/images/success.png +0 -0
- package/ueditor-resource/dialogs/background/background.css +193 -0
- package/ueditor-resource/dialogs/background/background.html +59 -0
- package/ueditor-resource/dialogs/background/background.js +370 -0
- package/ueditor-resource/dialogs/background/images/bg.png +0 -0
- package/ueditor-resource/dialogs/background/images/success.png +0 -0
- package/ueditor-resource/dialogs/contentimport/contentimport.html +176 -0
- package/ueditor-resource/dialogs/contentimport/contentimport.js +91 -0
- package/ueditor-resource/dialogs/emotion/emotion.css +129 -0
- package/ueditor-resource/dialogs/emotion/emotion.html +70 -0
- package/ueditor-resource/dialogs/emotion/emotion.js +186 -0
- package/ueditor-resource/dialogs/emotion/images/0.gif +0 -0
- package/ueditor-resource/dialogs/emotion/images/bface.gif +0 -0
- package/ueditor-resource/dialogs/emotion/images/cface.gif +0 -0
- package/ueditor-resource/dialogs/emotion/images/fface.gif +0 -0
- package/ueditor-resource/dialogs/emotion/images/jxface2.gif +0 -0
- package/ueditor-resource/dialogs/emotion/images/neweditor-tab-bg.png +0 -0
- package/ueditor-resource/dialogs/emotion/images/tface.gif +0 -0
- package/ueditor-resource/dialogs/emotion/images/wface.gif +0 -0
- package/ueditor-resource/dialogs/emotion/images/yface.gif +0 -0
- package/ueditor-resource/dialogs/formula/formula.html +98 -0
- package/ueditor-resource/dialogs/formula/formula.js +147 -0
- package/ueditor-resource/dialogs/help/help.css +37 -0
- package/ueditor-resource/dialogs/help/help.html +82 -0
- package/ueditor-resource/dialogs/help/help.js +57 -0
- package/ueditor-resource/dialogs/image/icon/center-active.png +0 -0
- package/ueditor-resource/dialogs/image/icon/center.png +0 -0
- package/ueditor-resource/dialogs/image/icon/img.png +0 -0
- package/ueditor-resource/dialogs/image/icon/left-active.png +0 -0
- package/ueditor-resource/dialogs/image/icon/left.png +0 -0
- package/ueditor-resource/dialogs/image/icon/none-active.png +0 -0
- package/ueditor-resource/dialogs/image/icon/none.png +0 -0
- package/ueditor-resource/dialogs/image/icon/right-active.png +0 -0
- package/ueditor-resource/dialogs/image/icon/right.png +0 -0
- package/ueditor-resource/dialogs/image/image.css +768 -0
- package/ueditor-resource/dialogs/image/image.html +145 -0
- package/ueditor-resource/dialogs/image/image.js +1060 -0
- package/ueditor-resource/dialogs/image/images/alignicon.jpg +0 -0
- package/ueditor-resource/dialogs/image/images/bg.png +0 -0
- package/ueditor-resource/dialogs/image/images/icons.gif +0 -0
- package/ueditor-resource/dialogs/image/images/icons.png +0 -0
- package/ueditor-resource/dialogs/image/images/image.png +0 -0
- package/ueditor-resource/dialogs/image/images/progress.png +0 -0
- package/ueditor-resource/dialogs/image/images/success.gif +0 -0
- package/ueditor-resource/dialogs/image/images/success.png +0 -0
- package/ueditor-resource/dialogs/insertframe/insertframe.html +135 -0
- package/ueditor-resource/dialogs/internal.js +81 -0
- package/ueditor-resource/dialogs/link/link.html +148 -0
- package/ueditor-resource/dialogs/preview/preview.html +45 -0
- package/ueditor-resource/dialogs/scrawl/images/addimg.png +0 -0
- package/ueditor-resource/dialogs/scrawl/images/brush.png +0 -0
- package/ueditor-resource/dialogs/scrawl/images/delimg.png +0 -0
- package/ueditor-resource/dialogs/scrawl/images/delimgH.png +0 -0
- package/ueditor-resource/dialogs/scrawl/images/empty.png +0 -0
- package/ueditor-resource/dialogs/scrawl/images/emptyH.png +0 -0
- package/ueditor-resource/dialogs/scrawl/images/eraser.png +0 -0
- package/ueditor-resource/dialogs/scrawl/images/redo.png +0 -0
- package/ueditor-resource/dialogs/scrawl/images/redoH.png +0 -0
- package/ueditor-resource/dialogs/scrawl/images/scale.png +0 -0
- package/ueditor-resource/dialogs/scrawl/images/scaleH.png +0 -0
- package/ueditor-resource/dialogs/scrawl/images/size.png +0 -0
- package/ueditor-resource/dialogs/scrawl/images/undo.png +0 -0
- package/ueditor-resource/dialogs/scrawl/images/undoH.png +0 -0
- package/ueditor-resource/dialogs/scrawl/scrawl.css +324 -0
- package/ueditor-resource/dialogs/scrawl/scrawl.html +95 -0
- package/ueditor-resource/dialogs/scrawl/scrawl.js +682 -0
- package/ueditor-resource/dialogs/searchreplace/searchreplace.html +144 -0
- package/ueditor-resource/dialogs/searchreplace/searchreplace.js +174 -0
- package/ueditor-resource/dialogs/spechars/spechars.html +42 -0
- package/ueditor-resource/dialogs/spechars/spechars.js +86 -0
- package/ueditor-resource/dialogs/table/dragicon.png +0 -0
- package/ueditor-resource/dialogs/table/edittable.css +85 -0
- package/ueditor-resource/dialogs/table/edittable.html +69 -0
- package/ueditor-resource/dialogs/table/edittable.js +241 -0
- package/ueditor-resource/dialogs/table/edittd.html +62 -0
- package/ueditor-resource/dialogs/table/edittip.html +33 -0
- package/ueditor-resource/dialogs/template/config.js +42 -0
- package/ueditor-resource/dialogs/template/images/bg.gif +0 -0
- package/ueditor-resource/dialogs/template/images/pre0.png +0 -0
- package/ueditor-resource/dialogs/template/images/pre1.png +0 -0
- package/ueditor-resource/dialogs/template/images/pre2.png +0 -0
- package/ueditor-resource/dialogs/template/images/pre3.png +0 -0
- package/ueditor-resource/dialogs/template/images/pre4.png +0 -0
- package/ueditor-resource/dialogs/template/template.css +99 -0
- package/ueditor-resource/dialogs/template/template.html +26 -0
- package/ueditor-resource/dialogs/template/template.js +53 -0
- package/ueditor-resource/dialogs/video/icon/center-active.png +0 -0
- package/ueditor-resource/dialogs/video/icon/center.png +0 -0
- package/ueditor-resource/dialogs/video/icon/img.png +0 -0
- package/ueditor-resource/dialogs/video/icon/left-active.png +0 -0
- package/ueditor-resource/dialogs/video/icon/left.png +0 -0
- package/ueditor-resource/dialogs/video/icon/none-active.png +0 -0
- package/ueditor-resource/dialogs/video/icon/none.png +0 -0
- package/ueditor-resource/dialogs/video/icon/right-active.png +0 -0
- package/ueditor-resource/dialogs/video/icon/right.png +0 -0
- package/ueditor-resource/dialogs/video/images/bg.png +0 -0
- package/ueditor-resource/dialogs/video/images/center_focus.jpg +0 -0
- package/ueditor-resource/dialogs/video/images/file-icons.gif +0 -0
- package/ueditor-resource/dialogs/video/images/file-icons.png +0 -0
- package/ueditor-resource/dialogs/video/images/icons.gif +0 -0
- package/ueditor-resource/dialogs/video/images/icons.png +0 -0
- package/ueditor-resource/dialogs/video/images/image.png +0 -0
- package/ueditor-resource/dialogs/video/images/left_focus.jpg +0 -0
- package/ueditor-resource/dialogs/video/images/none_focus.jpg +0 -0
- package/ueditor-resource/dialogs/video/images/progress.png +0 -0
- package/ueditor-resource/dialogs/video/images/right_focus.jpg +0 -0
- package/ueditor-resource/dialogs/video/images/success.gif +0 -0
- package/ueditor-resource/dialogs/video/images/success.png +0 -0
- package/ueditor-resource/dialogs/video/video.css +909 -0
- package/ueditor-resource/dialogs/video/video.html +115 -0
- package/ueditor-resource/dialogs/video/video.js +867 -0
- package/ueditor-resource/dialogs/wordimage/wordimage.html +221 -0
- package/ueditor-resource/dialogs/wordimage/wordimage.js +93 -0
- package/ueditor-resource/index.html +146 -0
- package/ueditor-resource/lang/en/en.js +686 -0
- package/ueditor-resource/lang/en/images/addimage.png +0 -0
- package/ueditor-resource/lang/en/images/alldeletebtnhoverskin.png +0 -0
- package/ueditor-resource/lang/en/images/alldeletebtnupskin.png +0 -0
- package/ueditor-resource/lang/en/images/background.png +0 -0
- package/ueditor-resource/lang/en/images/button.png +0 -0
- package/ueditor-resource/lang/en/images/copy.png +0 -0
- package/ueditor-resource/lang/en/images/deletedisable.png +0 -0
- package/ueditor-resource/lang/en/images/deleteenable.png +0 -0
- package/ueditor-resource/lang/en/images/listbackground.png +0 -0
- package/ueditor-resource/lang/en/images/localimage.png +0 -0
- package/ueditor-resource/lang/en/images/music.png +0 -0
- package/ueditor-resource/lang/en/images/rotateleftdisable.png +0 -0
- package/ueditor-resource/lang/en/images/rotateleftenable.png +0 -0
- package/ueditor-resource/lang/en/images/rotaterightdisable.png +0 -0
- package/ueditor-resource/lang/en/images/rotaterightenable.png +0 -0
- package/ueditor-resource/lang/en/images/upload.png +0 -0
- package/ueditor-resource/lang/zh-cn/images/copy.png +0 -0
- package/ueditor-resource/lang/zh-cn/images/localimage.png +0 -0
- package/ueditor-resource/lang/zh-cn/images/music.png +0 -0
- package/ueditor-resource/lang/zh-cn/images/upload.png +0 -0
- package/ueditor-resource/lang/zh-cn/zh-cn.js +748 -0
- package/ueditor-resource/plugins/demo/demo.js +3 -0
- package/ueditor-resource/themes/default/css/ueditor.css +2148 -0
- package/ueditor-resource/themes/default/dialog.css +17 -0
- package/ueditor-resource/themes/default/dialogbase.css +132 -0
- package/ueditor-resource/themes/default/exts/ai.svg +12 -0
- package/ueditor-resource/themes/default/exts/apk.svg +12 -0
- package/ueditor-resource/themes/default/exts/chm.svg +12 -0
- package/ueditor-resource/themes/default/exts/css.svg +12 -0
- package/ueditor-resource/themes/default/exts/doc.svg +22 -0
- package/ueditor-resource/themes/default/exts/docx.svg +22 -0
- package/ueditor-resource/themes/default/exts/dwg.svg +16 -0
- package/ueditor-resource/themes/default/exts/folder.svg +3 -0
- package/ueditor-resource/themes/default/exts/gif.svg +14 -0
- package/ueditor-resource/themes/default/exts/html.svg +12 -0
- package/ueditor-resource/themes/default/exts/jpeg.svg +14 -0
- package/ueditor-resource/themes/default/exts/jpg.svg +14 -0
- package/ueditor-resource/themes/default/exts/log.svg +12 -0
- package/ueditor-resource/themes/default/exts/mp3.svg +14 -0
- package/ueditor-resource/themes/default/exts/mp4.svg +12 -0
- package/ueditor-resource/themes/default/exts/pdf.svg +14 -0
- package/ueditor-resource/themes/default/exts/png.svg +14 -0
- package/ueditor-resource/themes/default/exts/ppt.svg +24 -0
- package/ueditor-resource/themes/default/exts/pptx.svg +24 -0
- package/ueditor-resource/themes/default/exts/psd.svg +12 -0
- package/ueditor-resource/themes/default/exts/rar.svg +12 -0
- package/ueditor-resource/themes/default/exts/svg.svg +12 -0
- package/ueditor-resource/themes/default/exts/torrent.svg +14 -0
- package/ueditor-resource/themes/default/exts/txt.svg +14 -0
- package/ueditor-resource/themes/default/exts/unknown.svg +12 -0
- package/ueditor-resource/themes/default/exts/xls.svg +25 -0
- package/ueditor-resource/themes/default/exts/xlsx.svg +25 -0
- package/ueditor-resource/themes/default/exts/zip.svg +12 -0
- package/ueditor-resource/themes/default/images/anchor.gif +0 -0
- package/ueditor-resource/themes/default/images/arrow.png +0 -0
- package/ueditor-resource/themes/default/images/arrow_down.png +0 -0
- package/ueditor-resource/themes/default/images/arrow_up.png +0 -0
- package/ueditor-resource/themes/default/images/button-bg.gif +0 -0
- package/ueditor-resource/themes/default/images/cancelbutton.gif +0 -0
- package/ueditor-resource/themes/default/images/charts.png +0 -0
- package/ueditor-resource/themes/default/images/cursor_h.gif +0 -0
- package/ueditor-resource/themes/default/images/cursor_h.png +0 -0
- package/ueditor-resource/themes/default/images/cursor_v.gif +0 -0
- package/ueditor-resource/themes/default/images/cursor_v.png +0 -0
- package/ueditor-resource/themes/default/images/dialog-title-bg.png +0 -0
- package/ueditor-resource/themes/default/images/filescan.png +0 -0
- package/ueditor-resource/themes/default/images/highlighted.gif +0 -0
- package/ueditor-resource/themes/default/images/icons-all.gif +0 -0
- package/ueditor-resource/themes/default/images/icons.gif +0 -0
- package/ueditor-resource/themes/default/images/icons.png +0 -0
- package/ueditor-resource/themes/default/images/img-cracked.png +0 -0
- package/ueditor-resource/themes/default/images/loaderror.png +0 -0
- package/ueditor-resource/themes/default/images/loading.gif +0 -0
- package/ueditor-resource/themes/default/images/lock.gif +0 -0
- package/ueditor-resource/themes/default/images/neweditor-tab-bg.png +0 -0
- package/ueditor-resource/themes/default/images/pagebreak.gif +0 -0
- package/ueditor-resource/themes/default/images/scale.png +0 -0
- package/ueditor-resource/themes/default/images/sortable.png +0 -0
- package/ueditor-resource/themes/default/images/spacer.gif +0 -0
- package/ueditor-resource/themes/default/images/sparator_v.png +0 -0
- package/ueditor-resource/themes/default/images/table-cell-align.png +0 -0
- package/ueditor-resource/themes/default/images/tangram-colorpicker.png +0 -0
- package/ueditor-resource/themes/default/images/toolbar_bg.png +0 -0
- package/ueditor-resource/themes/default/images/unhighlighted.gif +0 -0
- package/ueditor-resource/themes/default/images/upload.png +0 -0
- package/ueditor-resource/themes/default/images/videologo.gif +0 -0
- package/ueditor-resource/themes/default/images/word.gif +0 -0
- package/ueditor-resource/themes/default/images/wordpaste.png +0 -0
- package/ueditor-resource/themes/iframe.css +63 -0
- package/ueditor-resource/third-party/SyntaxHighlighter/shCore.js +3655 -0
- package/ueditor-resource/third-party/SyntaxHighlighter/shCoreDefault.css +1 -0
- package/ueditor-resource/third-party/clipboard/clipboard.js +753 -0
- package/ueditor-resource/third-party/clipboard/clipboard.swf +0 -0
- package/ueditor-resource/third-party/codemirror/codemirror.css +106 -0
- package/ueditor-resource/third-party/codemirror/codemirror.js +3581 -0
- package/ueditor-resource/third-party/jquery-3.5.1.js +2 -0
- package/ueditor-resource/third-party/jquery-3.5.1_1.js +4314 -0
- package/ueditor-resource/third-party/webuploader/webuploader.css +88 -0
- package/ueditor-resource/third-party/webuploader/webuploader.js +4 -0
- package/ueditor-resource/third-party/zeroclipboard/ZeroClipboard.js +1256 -0
- package/ueditor-resource/third-party/zeroclipboard/ZeroClipboard.swf +0 -0
- package/ueditor-resource/ueditor.all.js +32643 -0
- package/ueditor-resource/ueditor.config.js +656 -0
- package/ueditor-resource/ueditor.parse.js +639 -0
|
@@ -0,0 +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?32939b8e"></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?8bc07778"></script>
|
|
143
|
+
</body>
|
|
144
|
+
</html>
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created with JetBrains PhpStorm.
|
|
3
|
+
* User: xuheng
|
|
4
|
+
* Date: 12-9-26
|
|
5
|
+
* Time: 下午12:29
|
|
6
|
+
* To change this template use File | Settings | File Templates.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
//清空上次查选的痕迹
|
|
10
|
+
editor.firstForSR = 0;
|
|
11
|
+
editor.currentRangeForSR = null;
|
|
12
|
+
|
|
13
|
+
//给tab注册切换事件
|
|
14
|
+
/**
|
|
15
|
+
* tab点击处理事件
|
|
16
|
+
* @param tabHeads
|
|
17
|
+
* @param tabBodys
|
|
18
|
+
* @param obj
|
|
19
|
+
*/
|
|
20
|
+
function clickHandler(tabHeads, tabBodys, obj) {
|
|
21
|
+
//head样式更改
|
|
22
|
+
for (var k = 0, len = tabHeads.length; k < len; k++) {
|
|
23
|
+
tabHeads[k].className = "";
|
|
24
|
+
}
|
|
25
|
+
obj.className = "focus";
|
|
26
|
+
//body显隐
|
|
27
|
+
var tabSrc = obj.getAttribute("tabSrc");
|
|
28
|
+
for (var j = 0, length = tabBodys.length; j < length; j++) {
|
|
29
|
+
var body = tabBodys[j],
|
|
30
|
+
id = body.getAttribute("id");
|
|
31
|
+
if (id != tabSrc) {
|
|
32
|
+
body.style.zIndex = 1;
|
|
33
|
+
} else {
|
|
34
|
+
body.style.zIndex = 200;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* TAB切换
|
|
42
|
+
* @param tabParentId tab的父节点ID或者对象本身
|
|
43
|
+
*/
|
|
44
|
+
function switchTab(tabParentId) {
|
|
45
|
+
var tabElements = $G(tabParentId).children,
|
|
46
|
+
tabHeads = tabElements[0].children,
|
|
47
|
+
tabBodys = tabElements[1].children;
|
|
48
|
+
|
|
49
|
+
for (var i = 0, length = tabHeads.length; i < length; i++) {
|
|
50
|
+
var head = tabHeads[i];
|
|
51
|
+
if (head.className === "focus") clickHandler(tabHeads, tabBodys, head);
|
|
52
|
+
head.onclick = function () {
|
|
53
|
+
clickHandler(tabHeads, tabBodys, this);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
$G('searchtab').onmousedown = function () {
|
|
59
|
+
$G('search-msg').innerHTML = '';
|
|
60
|
+
$G('replace-msg').innerHTML = ''
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
//是否区分大小写
|
|
64
|
+
function getMatchCase(id) {
|
|
65
|
+
return $G(id).checked ? true : false;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
//查找
|
|
69
|
+
$G("nextFindBtn").onclick = function (txt, dir, mcase) {
|
|
70
|
+
var findtxt = $G("findtxt").value, obj;
|
|
71
|
+
if (!findtxt) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
obj = {
|
|
75
|
+
searchStr: findtxt,
|
|
76
|
+
dir: 1,
|
|
77
|
+
casesensitive: getMatchCase("matchCase")
|
|
78
|
+
};
|
|
79
|
+
if (!frCommond(obj)) {
|
|
80
|
+
var bk = editor.selection.getRange().createBookmark();
|
|
81
|
+
$G('search-msg').innerHTML = lang.getEnd;
|
|
82
|
+
editor.selection.getRange().moveToBookmark(bk).select();
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
$G("nextReplaceBtn").onclick = function (txt, dir, mcase) {
|
|
88
|
+
var findtxt = $G("findtxt1").value, obj;
|
|
89
|
+
if (!findtxt) {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
obj = {
|
|
93
|
+
searchStr: findtxt,
|
|
94
|
+
dir: 1,
|
|
95
|
+
casesensitive: getMatchCase("matchCase1")
|
|
96
|
+
};
|
|
97
|
+
frCommond(obj);
|
|
98
|
+
};
|
|
99
|
+
$G("preFindBtn").onclick = function (txt, dir, mcase) {
|
|
100
|
+
var findtxt = $G("findtxt").value, obj;
|
|
101
|
+
if (!findtxt) {
|
|
102
|
+
return false;
|
|
103
|
+
}
|
|
104
|
+
obj = {
|
|
105
|
+
searchStr: findtxt,
|
|
106
|
+
dir: -1,
|
|
107
|
+
casesensitive: getMatchCase("matchCase")
|
|
108
|
+
};
|
|
109
|
+
if (!frCommond(obj)) {
|
|
110
|
+
$G('search-msg').innerHTML = lang.getStart;
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
$G("preReplaceBtn").onclick = function (txt, dir, mcase) {
|
|
114
|
+
var findtxt = $G("findtxt1").value, obj;
|
|
115
|
+
if (!findtxt) {
|
|
116
|
+
return false;
|
|
117
|
+
}
|
|
118
|
+
obj = {
|
|
119
|
+
searchStr: findtxt,
|
|
120
|
+
dir: -1,
|
|
121
|
+
casesensitive: getMatchCase("matchCase1")
|
|
122
|
+
};
|
|
123
|
+
frCommond(obj);
|
|
124
|
+
};
|
|
125
|
+
//替换
|
|
126
|
+
$G("repalceBtn").onclick = function () {
|
|
127
|
+
editor.trigger('clearLastSearchResult');
|
|
128
|
+
var findtxt = $G("findtxt1").value.replace(/^\s|\s$/g, ""), obj,
|
|
129
|
+
replacetxt = $G("replacetxt").value.replace(/^\s|\s$/g, "");
|
|
130
|
+
if (!findtxt) {
|
|
131
|
+
return false;
|
|
132
|
+
}
|
|
133
|
+
if (findtxt == replacetxt || (!getMatchCase("matchCase1") && findtxt.toLowerCase() == replacetxt.toLowerCase())) {
|
|
134
|
+
return false;
|
|
135
|
+
}
|
|
136
|
+
obj = {
|
|
137
|
+
searchStr: findtxt,
|
|
138
|
+
dir: 1,
|
|
139
|
+
casesensitive: getMatchCase("matchCase1"),
|
|
140
|
+
replaceStr: replacetxt
|
|
141
|
+
};
|
|
142
|
+
frCommond(obj);
|
|
143
|
+
};
|
|
144
|
+
//全部替换
|
|
145
|
+
$G("repalceAllBtn").onclick = function () {
|
|
146
|
+
var findtxt = $G("findtxt1").value.replace(/^\s|\s$/g, ""), obj,
|
|
147
|
+
replacetxt = $G("replacetxt").value.replace(/^\s|\s$/g, "");
|
|
148
|
+
if (!findtxt) {
|
|
149
|
+
return false;
|
|
150
|
+
}
|
|
151
|
+
if (findtxt == replacetxt || (!getMatchCase("matchCase1") && findtxt.toLowerCase() == replacetxt.toLowerCase())) {
|
|
152
|
+
return false;
|
|
153
|
+
}
|
|
154
|
+
obj = {
|
|
155
|
+
searchStr: findtxt,
|
|
156
|
+
casesensitive: getMatchCase("matchCase1"),
|
|
157
|
+
replaceStr: replacetxt,
|
|
158
|
+
all: true
|
|
159
|
+
};
|
|
160
|
+
var num = frCommond(obj);
|
|
161
|
+
if (num) {
|
|
162
|
+
$G('replace-msg').innerHTML = lang.countMsg.replace("{#count}", num);
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
//执行
|
|
166
|
+
var frCommond = function (obj) {
|
|
167
|
+
return editor.execCommand("searchreplace", obj);
|
|
168
|
+
};
|
|
169
|
+
switchTab("searchtab");
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
dialog.onclose = function () {
|
|
173
|
+
editor.trigger('clearLastSearchResult')
|
|
174
|
+
};
|
|
@@ -0,0 +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?32939b8e"></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?c4f3cb97"></script>
|
|
41
|
+
</body>
|
|
42
|
+
</html>
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created with JetBrains PhpStorm.
|
|
3
|
+
* User: xuheng
|
|
4
|
+
* Date: 12-9-26
|
|
5
|
+
* Time: 下午1:09
|
|
6
|
+
* To change this template use File | Settings | File Templates.
|
|
7
|
+
*/
|
|
8
|
+
var charsContent = [
|
|
9
|
+
{
|
|
10
|
+
name: "tsfh",
|
|
11
|
+
title: lang.tsfh,
|
|
12
|
+
content: toArray("、,。,·,ˉ,ˇ,¨,〃,々,—,~,‖,…,‘,’,“,”,〔,〕,〈,〉,《,》,「,」,『,』,〖,〗,【,】,±,×,÷,∶,∧,∨,∑,∏,∪,∩,∈,∷,√,⊥,∥,∠,⌒,⊙,∫,∮,≡,≌,≈,∽,∝,≠,≮,≯,≤,≥,∞,∵,∴,♂,♀,°,′,″,℃,$,¤,¢,£,‰,§,№,☆,★,○,●,◎,◇,◆,□,■,△,▲,※,→,←,↑,↓,〓,〡,〢,〣,〤,〥,〦,〧,〨,〩,㊣,㎎,㎏,㎜,㎝,㎞,㎡,㏄,㏎,㏑,㏒,㏕,︰,¬,¦,℡,ˊ,ˋ,˙,–,―,‥,‵,℅,℉,↖,↗,↘,↙,∕,∟,∣,≒,≦,≧,⊿,═,║,╒,╓,╔,╕,╖,╗,╘,╙,╚,╛,╜,╝,╞,╟,╠,╡,╢,╣,╤,╥,╦,╧,╨,╩,╪,╫,╬,╭,╮,╯,╰,╱,╲,╳,▁,▂,▃,▄,▅,▆,▇,�,█,▉,▊,▋,▌,▍,▎,▏,▓,▔,▕,▼,▽,◢,◣,◤,◥,☉,⊕,〒,〝,〞")
|
|
13
|
+
},
|
|
14
|
+
{name: "lmsz", title: lang.lmsz, content: toArray("ⅰ,ⅱ,ⅲ,ⅳ,ⅴ,ⅵ,ⅶ,ⅷ,ⅸ,ⅹ,Ⅰ,Ⅱ,Ⅲ,Ⅳ,Ⅴ,Ⅵ,Ⅶ,Ⅷ,Ⅸ,Ⅹ,Ⅺ,Ⅻ")},
|
|
15
|
+
{
|
|
16
|
+
name: "szfh",
|
|
17
|
+
title: lang.szfh,
|
|
18
|
+
content: toArray("⒈,⒉,⒊,⒋,⒌,⒍,⒎,⒏,⒐,⒑,⒒,⒓,⒔,⒕,⒖,⒗,⒘,⒙,⒚,⒛,⑴,⑵,⑶,⑷,⑸,⑹,⑺,⑻,⑼,⑽,⑾,⑿,⒀,⒁,⒂,⒃,⒄,⒅,⒆,⒇,①,②,③,④,⑤,⑥,⑦,⑧,⑨,⑩,㈠,㈡,㈢,㈣,㈤,㈥,㈦,㈧,㈨,㈩")
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: "rwfh",
|
|
22
|
+
title: lang.rwfh,
|
|
23
|
+
content: toArray("ぁ,あ,ぃ,い,ぅ,う,ぇ,え,ぉ,お,か,が,き,ぎ,く,ぐ,け,げ,こ,ご,さ,ざ,し,じ,す,ず,せ,ぜ,そ,ぞ,た,だ,ち,ぢ,っ,つ,づ,て,で,と,ど,な,に,ぬ,ね,の,は,ば,ぱ,ひ,び,ぴ,ふ,ぶ,ぷ,へ,べ,ぺ,ほ,ぼ,ぽ,ま,み,む,め,も,ゃ,や,ゅ,ゆ,ょ,よ,ら,り,る,れ,ろ,ゎ,わ,ゐ,ゑ,を,ん,ァ,ア,ィ,イ,ゥ,ウ,ェ,エ,ォ,オ,カ,ガ,キ,ギ,ク,グ,ケ,ゲ,コ,ゴ,サ,ザ,シ,ジ,ス,ズ,セ,ゼ,ソ,ゾ,タ,ダ,チ,ヂ,ッ,ツ,ヅ,テ,デ,ト,ド,ナ,ニ,ヌ,ネ,ノ,ハ,バ,パ,ヒ,ビ,ピ,フ,ブ,プ,ヘ,ベ,ペ,ホ,ボ,ポ,マ,ミ,ム,メ,モ,ャ,ヤ,ュ,ユ,ョ,ヨ,ラ,リ,ル,レ,ロ,ヮ,ワ,ヰ,ヱ,ヲ,ン,ヴ,ヵ,ヶ")
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: "xlzm",
|
|
27
|
+
title: lang.xlzm,
|
|
28
|
+
content: toArray("Α,Β,Γ,Δ,Ε,Ζ,Η,Θ,Ι,Κ,Λ,Μ,Ν,Ξ,Ο,Π,Ρ,Σ,Τ,Υ,Φ,Χ,Ψ,Ω,α,β,γ,δ,ε,ζ,η,θ,ι,κ,λ,μ,ν,ξ,ο,π,ρ,σ,τ,υ,φ,χ,ψ,ω")
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: "ewzm",
|
|
32
|
+
title: lang.ewzm,
|
|
33
|
+
content: toArray("А,Б,В,Г,Д,Е,Ё,Ж,З,И,Й,К,Л,М,Н,О,П,Р,С,Т,У,Ф,Х,Ц,Ч,Ш,Щ,Ъ,Ы,Ь,Э,Ю,Я,а,б,в,г,д,е,ё,ж,з,и,й,к,л,м,н,о,п,р,с,т,у,ф,х,ц,ч,ш,щ,ъ,ы,ь,э,ю,я")
|
|
34
|
+
},
|
|
35
|
+
{name: "pyzm", title: lang.pyzm, content: toArray("ā,á,ǎ,à,ē,é,ě,è,ī,í,ǐ,ì,ō,ó,ǒ,ò,ū,ú,ǔ,ù,ǖ,ǘ,ǚ,ǜ,ü")},
|
|
36
|
+
{
|
|
37
|
+
name: "yyyb",
|
|
38
|
+
title: lang.yyyb,
|
|
39
|
+
content: toArray("i:,i,e,æ,ʌ,ə:,ə,u:,u,ɔ:,ɔ,a:,ei,ai,ɔi,əu,au,iə,εə,uə,p,t,k,b,d,g,f,s,ʃ,θ,h,v,z,ʒ,ð,tʃ,tr,ts,dʒ,dr,dz,m,n,ŋ,l,r,w,j,")
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: "zyzf",
|
|
43
|
+
title: lang.zyzf,
|
|
44
|
+
content: toArray("ㄅ,ㄆ,ㄇ,ㄈ,ㄉ,ㄊ,ㄋ,ㄌ,ㄍ,ㄎ,ㄏ,ㄐ,ㄑ,ㄒ,ㄓ,ㄔ,ㄕ,ㄖ,ㄗ,ㄘ,ㄙ,ㄚ,ㄛ,ㄜ,ㄝ,ㄞ,ㄟ,ㄠ,ㄡ,ㄢ,ㄣ,ㄤ,ㄥ,ㄦ,ㄧ,ㄨ")
|
|
45
|
+
}
|
|
46
|
+
];
|
|
47
|
+
(function createTab(content) {
|
|
48
|
+
for (var i = 0, ci; ci = content[i++];) {
|
|
49
|
+
var span = document.createElement("span");
|
|
50
|
+
span.setAttribute("tabSrc", ci.name);
|
|
51
|
+
span.innerHTML = ci.title;
|
|
52
|
+
if (i == 1) span.className = "focus";
|
|
53
|
+
domUtils.on(span, "click", function () {
|
|
54
|
+
var tmps = $G("tabHeads").children;
|
|
55
|
+
for (var k = 0, sk; sk = tmps[k++];) {
|
|
56
|
+
sk.className = "";
|
|
57
|
+
}
|
|
58
|
+
tmps = $G("tabBodys").children;
|
|
59
|
+
for (var k = 0, sk; sk = tmps[k++];) {
|
|
60
|
+
sk.style.display = "none";
|
|
61
|
+
}
|
|
62
|
+
this.className = "focus";
|
|
63
|
+
$G(this.getAttribute("tabSrc")).style.display = "";
|
|
64
|
+
});
|
|
65
|
+
$G("tabHeads").appendChild(span);
|
|
66
|
+
domUtils.insertAfter(span, document.createTextNode("\n"));
|
|
67
|
+
var div = document.createElement("div");
|
|
68
|
+
div.id = ci.name;
|
|
69
|
+
div.style.display = (i == 1) ? "" : "none";
|
|
70
|
+
var cons = ci.content;
|
|
71
|
+
for (var j = 0, con; con = cons[j++];) {
|
|
72
|
+
var charSpan = document.createElement("span");
|
|
73
|
+
charSpan.innerHTML = con;
|
|
74
|
+
domUtils.on(charSpan, "click", function () {
|
|
75
|
+
editor.execCommand("insertHTML", this.innerHTML);
|
|
76
|
+
dialog.close();
|
|
77
|
+
});
|
|
78
|
+
div.appendChild(charSpan);
|
|
79
|
+
}
|
|
80
|
+
$G("tabBodys").appendChild(div);
|
|
81
|
+
}
|
|
82
|
+
})(charsContent);
|
|
83
|
+
|
|
84
|
+
function toArray(str) {
|
|
85
|
+
return str.split(",");
|
|
86
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
body {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
width: 540px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.wrapper {
|
|
7
|
+
margin: 10px auto 0;
|
|
8
|
+
font-size: 12px;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
width: 520px;
|
|
11
|
+
height: 315px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.clear {
|
|
15
|
+
clear: both;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.wrapper .left {
|
|
19
|
+
float: left;
|
|
20
|
+
margin-left: 10px;;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.wrapper .right {
|
|
24
|
+
float: right;
|
|
25
|
+
border-left: 2px dotted #EDEDED;
|
|
26
|
+
padding-left: 15px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.section {
|
|
30
|
+
margin-bottom: 15px;
|
|
31
|
+
width: 240px;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.section h3 {
|
|
36
|
+
font-weight: bold;
|
|
37
|
+
padding: 5px 0;
|
|
38
|
+
margin-bottom: 10px;
|
|
39
|
+
border-bottom: 1px solid #EDEDED;
|
|
40
|
+
font-size: 12px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.section ul {
|
|
44
|
+
list-style: none;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
clear: both;
|
|
47
|
+
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.section li {
|
|
51
|
+
float: left;
|
|
52
|
+
width: 120px;;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.section .tone {
|
|
56
|
+
width: 80px;;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.section .preview {
|
|
60
|
+
width: 220px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.section .preview table {
|
|
64
|
+
text-align: center;
|
|
65
|
+
vertical-align: middle;
|
|
66
|
+
color: #666;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.section .preview caption {
|
|
70
|
+
font-weight: bold;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.section .preview td {
|
|
74
|
+
border-width: 1px;
|
|
75
|
+
border-style: solid;
|
|
76
|
+
height: 22px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.section .preview th {
|
|
80
|
+
border-style: solid;
|
|
81
|
+
border-color: #DDD;
|
|
82
|
+
border-width: 2px 1px 1px 1px;
|
|
83
|
+
height: 22px;
|
|
84
|
+
background-color: #F7F7F7;
|
|
85
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title></title>
|
|
5
|
+
<script type="text/javascript" src="../internal.js?32939b8e"></script>
|
|
6
|
+
<link rel="stylesheet" type="text/css" href="edittable.css?4e543548">
|
|
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?ba023569"></script>
|
|
68
|
+
</body>
|
|
69
|
+
</html>
|