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