@lingxiteam/lcdp-ueditor-react 1.0.0-alpha.2 → 1.0.0-alpha.20

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.
Files changed (132) hide show
  1. package/es/LcdpUeditor.d.ts +4 -0
  2. package/es/LcdpUeditor.js +74 -50
  3. package/es/const.js +4 -4
  4. package/es/defaultConfig.json +76 -76
  5. package/es/tools/UeditorResourceLoader.js +6 -6
  6. package/es/tools/filterHtmlNode.d.ts +5 -0
  7. package/es/tools/filterHtmlNode.js +41 -0
  8. package/es/tools/loadScript.js +3 -3
  9. package/es/type.d.ts +3 -1
  10. package/lib/LcdpUeditor.d.ts +80 -0
  11. package/lib/LcdpUeditor.js +267 -0
  12. package/lib/const.d.ts +12 -0
  13. package/lib/const.js +39 -0
  14. package/lib/defaultConfig.json +77 -0
  15. package/lib/index.d.ts +4 -0
  16. package/lib/index.js +41 -0
  17. package/lib/tools/UeditorResourceLoader.d.ts +21 -0
  18. package/lib/tools/UeditorResourceLoader.js +90 -0
  19. package/lib/tools/filterHtmlNode.d.ts +5 -0
  20. package/lib/tools/filterHtmlNode.js +61 -0
  21. package/lib/tools/loadScript.d.ts +5 -0
  22. package/lib/tools/loadScript.js +39 -0
  23. package/lib/type.d.ts +144 -0
  24. package/lib/type.js +17 -0
  25. package/package.json +34 -32
  26. package/ueditor-resource/dialogs/anchor/anchor.html +62 -62
  27. package/ueditor-resource/dialogs/attachment/attachment.css +716 -716
  28. package/ueditor-resource/dialogs/attachment/attachment.html +61 -61
  29. package/ueditor-resource/dialogs/attachment/attachment.js +803 -803
  30. package/ueditor-resource/dialogs/audio/audio.css +879 -879
  31. package/ueditor-resource/dialogs/audio/audio.html +93 -93
  32. package/ueditor-resource/dialogs/audio/audio.js +815 -815
  33. package/ueditor-resource/dialogs/background/background.css +193 -193
  34. package/ueditor-resource/dialogs/background/background.html +59 -59
  35. package/ueditor-resource/dialogs/background/background.js +370 -370
  36. package/ueditor-resource/dialogs/contentimport/contentimport.html +176 -176
  37. package/ueditor-resource/dialogs/contentimport/contentimport.js +91 -91
  38. package/ueditor-resource/dialogs/emotion/emotion.css +129 -129
  39. package/ueditor-resource/dialogs/emotion/emotion.html +70 -70
  40. package/ueditor-resource/dialogs/emotion/emotion.js +186 -186
  41. package/ueditor-resource/dialogs/formula/formula.html +98 -98
  42. package/ueditor-resource/dialogs/formula/formula.js +147 -147
  43. package/ueditor-resource/dialogs/help/help.css +37 -37
  44. package/ueditor-resource/dialogs/help/help.html +82 -82
  45. package/ueditor-resource/dialogs/help/help.js +57 -57
  46. package/ueditor-resource/dialogs/image/image.css +768 -768
  47. package/ueditor-resource/dialogs/image/image.html +144 -144
  48. package/ueditor-resource/dialogs/image/image.js +1060 -1060
  49. package/ueditor-resource/dialogs/insertframe/insertframe.html +135 -135
  50. package/ueditor-resource/dialogs/internal.js +81 -81
  51. package/ueditor-resource/dialogs/link/link.html +148 -148
  52. package/ueditor-resource/dialogs/preview/preview.html +45 -45
  53. package/ueditor-resource/dialogs/scrawl/scrawl.css +324 -324
  54. package/ueditor-resource/dialogs/scrawl/scrawl.html +95 -95
  55. package/ueditor-resource/dialogs/scrawl/scrawl.js +682 -682
  56. package/ueditor-resource/dialogs/searchreplace/searchreplace.html +144 -144
  57. package/ueditor-resource/dialogs/searchreplace/searchreplace.js +174 -174
  58. package/ueditor-resource/dialogs/spechars/spechars.html +42 -42
  59. package/ueditor-resource/dialogs/spechars/spechars.js +86 -86
  60. package/ueditor-resource/dialogs/table/edittable.css +85 -85
  61. package/ueditor-resource/dialogs/table/edittable.html +69 -69
  62. package/ueditor-resource/dialogs/table/edittable.js +241 -241
  63. package/ueditor-resource/dialogs/table/edittd.html +62 -62
  64. package/ueditor-resource/dialogs/table/edittip.html +33 -33
  65. package/ueditor-resource/dialogs/template/config.js +42 -42
  66. package/ueditor-resource/dialogs/template/template.css +99 -99
  67. package/ueditor-resource/dialogs/template/template.html +26 -26
  68. package/ueditor-resource/dialogs/template/template.js +53 -53
  69. package/ueditor-resource/dialogs/video/video.css +909 -909
  70. package/ueditor-resource/dialogs/video/video.html +114 -114
  71. package/ueditor-resource/dialogs/video/video.js +867 -867
  72. package/ueditor-resource/dialogs/wordimage/wordimage.html +221 -221
  73. package/ueditor-resource/dialogs/wordimage/wordimage.js +93 -93
  74. package/ueditor-resource/lang/en/en.js +686 -686
  75. package/ueditor-resource/lang/zh-cn/zh-cn.js +748 -748
  76. package/ueditor-resource/lang/zh-tw/images/copy.png +0 -0
  77. package/ueditor-resource/lang/zh-tw/images/localimage.png +0 -0
  78. package/ueditor-resource/lang/zh-tw/images/music.png +0 -0
  79. package/ueditor-resource/lang/zh-tw/images/upload.png +0 -0
  80. package/ueditor-resource/lang/zh-tw/zh-tw.js +748 -0
  81. package/ueditor-resource/plugins/demo/demo.js +3 -3
  82. package/ueditor-resource/themes/default/css/ueditor.css +2148 -2148
  83. package/ueditor-resource/themes/default/dialog.css +17 -17
  84. package/ueditor-resource/themes/default/dialogbase.css +132 -132
  85. package/ueditor-resource/themes/default/exts/ai.svg +12 -12
  86. package/ueditor-resource/themes/default/exts/apk.svg +12 -12
  87. package/ueditor-resource/themes/default/exts/chm.svg +12 -12
  88. package/ueditor-resource/themes/default/exts/css.svg +12 -12
  89. package/ueditor-resource/themes/default/exts/doc.svg +22 -22
  90. package/ueditor-resource/themes/default/exts/docx.svg +22 -22
  91. package/ueditor-resource/themes/default/exts/dwg.svg +16 -16
  92. package/ueditor-resource/themes/default/exts/folder.svg +3 -3
  93. package/ueditor-resource/themes/default/exts/gif.svg +14 -14
  94. package/ueditor-resource/themes/default/exts/html.svg +12 -12
  95. package/ueditor-resource/themes/default/exts/jpeg.svg +14 -14
  96. package/ueditor-resource/themes/default/exts/jpg.svg +14 -14
  97. package/ueditor-resource/themes/default/exts/log.svg +12 -12
  98. package/ueditor-resource/themes/default/exts/mp3.svg +14 -14
  99. package/ueditor-resource/themes/default/exts/mp4.svg +12 -12
  100. package/ueditor-resource/themes/default/exts/pdf.svg +14 -14
  101. package/ueditor-resource/themes/default/exts/png.svg +14 -14
  102. package/ueditor-resource/themes/default/exts/ppt.svg +24 -24
  103. package/ueditor-resource/themes/default/exts/pptx.svg +24 -24
  104. package/ueditor-resource/themes/default/exts/psd.svg +12 -12
  105. package/ueditor-resource/themes/default/exts/rar.svg +12 -12
  106. package/ueditor-resource/themes/default/exts/svg.svg +12 -12
  107. package/ueditor-resource/themes/default/exts/torrent.svg +14 -14
  108. package/ueditor-resource/themes/default/exts/txt.svg +14 -14
  109. package/ueditor-resource/themes/default/exts/unknown.svg +12 -12
  110. package/ueditor-resource/themes/default/exts/xls.svg +25 -25
  111. package/ueditor-resource/themes/default/exts/xlsx.svg +25 -25
  112. package/ueditor-resource/themes/default/exts/zip.svg +12 -12
  113. package/ueditor-resource/themes/iframe.css +63 -63
  114. package/ueditor-resource/third-party/SyntaxHighlighter/shCore.js +3655 -3655
  115. package/ueditor-resource/third-party/clipboard/clipboard.js +752 -752
  116. package/ueditor-resource/third-party/codemirror/codemirror.css +106 -106
  117. package/ueditor-resource/third-party/codemirror/codemirror.js +3581 -3581
  118. package/ueditor-resource/third-party/jquery-3.5.1.js +1 -1
  119. package/ueditor-resource/third-party/jquery-3.5.1_1.js +4314 -4314
  120. package/ueditor-resource/third-party/webuploader/webuploader.css +88 -88
  121. package/ueditor-resource/third-party/webuploader/webuploader.js +3 -3
  122. package/ueditor-resource/third-party/zeroclipboard/ZeroClipboard.js +1255 -1255
  123. package/ueditor-resource/ueditor.all.js +5271 -5270
  124. package/ueditor-resource/ueditor.config.js +655 -656
  125. package/ueditor-resource/ueditor.parse.js +13 -13
  126. package/es/LcdpUeditor.d.ts.map +0 -1
  127. package/es/const.d.ts.map +0 -1
  128. package/es/index.d.ts.map +0 -1
  129. package/es/tools/UeditorResourceLoader.d.ts.map +0 -1
  130. package/es/tools/loadScript.d.ts.map +0 -1
  131. package/es/type.d.ts.map +0 -1
  132. package/ueditor-resource/index.html +0 -146
@@ -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?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>
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?aea0c61c"></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?f474d0a8"></script>
41
+ </body>
42
+ </html>
@@ -1,86 +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
- }
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
+ }
@@ -1,85 +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
- }
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
+ }
@@ -1,69 +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>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title></title>
5
+ <script type="text/javascript" src="../internal.js?aea0c61c"></script>
6
+ <link rel="stylesheet" type="text/css" href="edittable.css?effbbe30">
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?6b7a0dd4"></script>
68
+ </body>
69
+ </html>