@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,193 +1,193 @@
1
- .wrapper {
2
- width: 424px;
3
- margin: 10px auto;
4
- zoom: 1;
5
- position: relative
6
- }
7
-
8
- .tabbody {
9
- height: 225px;
10
- }
11
-
12
- .tabbody .panel {
13
- position: absolute;
14
- width: 100%;
15
- height: 100%;
16
- background: #fff;
17
- display: none;
18
- }
19
-
20
- .tabbody .focus {
21
- display: block;
22
- }
23
-
24
- body {
25
- font-size: 12px;
26
- color: #888;
27
- overflow: hidden;
28
- }
29
-
30
- input, label {
31
- vertical-align: middle
32
- }
33
-
34
- .clear {
35
- clear: both;
36
- }
37
-
38
- .pl {
39
- padding-left: 18px;
40
- padding-left: 23px \9;
41
- }
42
-
43
- #imageList {
44
- width: 420px;
45
- height: 215px;
46
- margin-top: 10px;
47
- overflow: hidden;
48
- overflow-y: auto;
49
- }
50
-
51
- #imageList div {
52
- float: left;
53
- width: 100px;
54
- height: 95px;
55
- margin: 5px 10px;
56
- }
57
-
58
- #imageList img {
59
- cursor: pointer;
60
- border: 2px solid white;
61
- }
62
-
63
- .bgarea {
64
- margin: 10px;
65
- padding: 5px;
66
- height: 84%;
67
- border: 1px solid #A8A297;
68
- }
69
-
70
- .content div {
71
- margin: 10px 0 10px 5px;
72
- }
73
-
74
- .content .iptradio {
75
- margin: 0px 5px 5px 0px;
76
- }
77
-
78
- .txt {
79
- width: 280px;
80
- }
81
-
82
- .wrapcolor {
83
- height: 19px;
84
- }
85
-
86
- div.color {
87
- float: left;
88
- margin: 0;
89
- }
90
-
91
- #colorPicker {
92
- width: 17px;
93
- height: 17px;
94
- border: 1px solid #CCC;
95
- display: inline-block;
96
- border-radius: 3px;
97
- box-shadow: 2px 2px 5px #D3D6DA;
98
- margin: 0;
99
- float: left;
100
- }
101
-
102
- div.alignment, #custom {
103
- margin-left: 23px;
104
- margin-left: 28px \9;
105
- }
106
-
107
- #custom input {
108
- height: 15px;
109
- min-height: 15px;
110
- width: 20px;
111
- }
112
-
113
- #repeatType {
114
- width: 100px;
115
- }
116
-
117
-
118
- /* 图片管理样式 */
119
- #imgManager {
120
- width: 100%;
121
- height: 225px;
122
- }
123
-
124
- #imgManager #imageList {
125
- width: 100%;
126
- overflow-x: hidden;
127
- overflow-y: auto;
128
- }
129
-
130
- #imgManager ul {
131
- display: block;
132
- list-style: none;
133
- margin: 0;
134
- padding: 0;
135
- }
136
-
137
- #imgManager li {
138
- float: left;
139
- display: block;
140
- list-style: none;
141
- padding: 0;
142
- width: 113px;
143
- height: 113px;
144
- margin: 9px 0 0 19px;
145
- background-color: #eee;
146
- overflow: hidden;
147
- cursor: pointer;
148
- position: relative;
149
- }
150
-
151
- #imgManager li.clearFloat {
152
- float: none;
153
- clear: both;
154
- display: block;
155
- width: 0;
156
- height: 0;
157
- margin: 0;
158
- padding: 0;
159
- }
160
-
161
- #imgManager li img {
162
- cursor: pointer;
163
- }
164
-
165
- #imgManager li .icon {
166
- cursor: pointer;
167
- width: 113px;
168
- height: 113px;
169
- position: absolute;
170
- top: 0;
171
- left: 0;
172
- z-index: 2;
173
- border: 0;
174
- background-repeat: no-repeat;
175
- }
176
-
177
- #imgManager li .icon:hover {
178
- width: 107px;
179
- height: 107px;
180
- border: 3px solid #1094fa;
181
- }
182
-
183
- #imgManager li.selected .icon {
184
- background-image: url(images/success.png);
185
- background-position: 75px 75px;
186
- }
187
-
188
- #imgManager li.selected .icon:hover {
189
- width: 107px;
190
- height: 107px;
191
- border: 3px solid #1094fa;
192
- background-position: 72px 72px;
193
- }
1
+ .wrapper {
2
+ width: 424px;
3
+ margin: 10px auto;
4
+ zoom: 1;
5
+ position: relative
6
+ }
7
+
8
+ .tabbody {
9
+ height: 225px;
10
+ }
11
+
12
+ .tabbody .panel {
13
+ position: absolute;
14
+ width: 100%;
15
+ height: 100%;
16
+ background: #fff;
17
+ display: none;
18
+ }
19
+
20
+ .tabbody .focus {
21
+ display: block;
22
+ }
23
+
24
+ body {
25
+ font-size: 12px;
26
+ color: #888;
27
+ overflow: hidden;
28
+ }
29
+
30
+ input, label {
31
+ vertical-align: middle
32
+ }
33
+
34
+ .clear {
35
+ clear: both;
36
+ }
37
+
38
+ .pl {
39
+ padding-left: 18px;
40
+ padding-left: 23px \9;
41
+ }
42
+
43
+ #imageList {
44
+ width: 420px;
45
+ height: 215px;
46
+ margin-top: 10px;
47
+ overflow: hidden;
48
+ overflow-y: auto;
49
+ }
50
+
51
+ #imageList div {
52
+ float: left;
53
+ width: 100px;
54
+ height: 95px;
55
+ margin: 5px 10px;
56
+ }
57
+
58
+ #imageList img {
59
+ cursor: pointer;
60
+ border: 2px solid white;
61
+ }
62
+
63
+ .bgarea {
64
+ margin: 10px;
65
+ padding: 5px;
66
+ height: 84%;
67
+ border: 1px solid #A8A297;
68
+ }
69
+
70
+ .content div {
71
+ margin: 10px 0 10px 5px;
72
+ }
73
+
74
+ .content .iptradio {
75
+ margin: 0px 5px 5px 0px;
76
+ }
77
+
78
+ .txt {
79
+ width: 280px;
80
+ }
81
+
82
+ .wrapcolor {
83
+ height: 19px;
84
+ }
85
+
86
+ div.color {
87
+ float: left;
88
+ margin: 0;
89
+ }
90
+
91
+ #colorPicker {
92
+ width: 17px;
93
+ height: 17px;
94
+ border: 1px solid #CCC;
95
+ display: inline-block;
96
+ border-radius: 3px;
97
+ box-shadow: 2px 2px 5px #D3D6DA;
98
+ margin: 0;
99
+ float: left;
100
+ }
101
+
102
+ div.alignment, #custom {
103
+ margin-left: 23px;
104
+ margin-left: 28px \9;
105
+ }
106
+
107
+ #custom input {
108
+ height: 15px;
109
+ min-height: 15px;
110
+ width: 20px;
111
+ }
112
+
113
+ #repeatType {
114
+ width: 100px;
115
+ }
116
+
117
+
118
+ /* 图片管理样式 */
119
+ #imgManager {
120
+ width: 100%;
121
+ height: 225px;
122
+ }
123
+
124
+ #imgManager #imageList {
125
+ width: 100%;
126
+ overflow-x: hidden;
127
+ overflow-y: auto;
128
+ }
129
+
130
+ #imgManager ul {
131
+ display: block;
132
+ list-style: none;
133
+ margin: 0;
134
+ padding: 0;
135
+ }
136
+
137
+ #imgManager li {
138
+ float: left;
139
+ display: block;
140
+ list-style: none;
141
+ padding: 0;
142
+ width: 113px;
143
+ height: 113px;
144
+ margin: 9px 0 0 19px;
145
+ background-color: #eee;
146
+ overflow: hidden;
147
+ cursor: pointer;
148
+ position: relative;
149
+ }
150
+
151
+ #imgManager li.clearFloat {
152
+ float: none;
153
+ clear: both;
154
+ display: block;
155
+ width: 0;
156
+ height: 0;
157
+ margin: 0;
158
+ padding: 0;
159
+ }
160
+
161
+ #imgManager li img {
162
+ cursor: pointer;
163
+ }
164
+
165
+ #imgManager li .icon {
166
+ cursor: pointer;
167
+ width: 113px;
168
+ height: 113px;
169
+ position: absolute;
170
+ top: 0;
171
+ left: 0;
172
+ z-index: 2;
173
+ border: 0;
174
+ background-repeat: no-repeat;
175
+ }
176
+
177
+ #imgManager li .icon:hover {
178
+ width: 107px;
179
+ height: 107px;
180
+ border: 3px solid #1094fa;
181
+ }
182
+
183
+ #imgManager li.selected .icon {
184
+ background-image: url(images/success.png);
185
+ background-position: 75px 75px;
186
+ }
187
+
188
+ #imgManager li.selected .icon:hover {
189
+ width: 107px;
190
+ height: 107px;
191
+ border: 3px solid #1094fa;
192
+ background-position: 72px 72px;
193
+ }
@@ -1,59 +1,59 @@
1
- <!DOCTYPE HTML>
2
- <html>
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
5
- <script type="text/javascript" src="../internal.js?32939b8e"></script>
6
- <link rel="stylesheet" type="text/css" href="background.css?399b33ed">
7
- </head>
8
- <body>
9
- <div id="bg_container" class="wrapper">
10
- <div id="tabHeads" class="tabhead">
11
- <span class="focus" data-content-id="normal"><var id="lang_background_normal"></var></span>
12
- </div>
13
- <div id="tabBodys" class="tabbody">
14
- <div id="normal" class="panel focus">
15
- <fieldset class="bgarea">
16
- <legend><var id="lang_background_set"></var></legend>
17
- <div class="content">
18
- <div>
19
- <label><input id="nocolorRadio" class="iptradio" type="radio" name="t" value="none"
20
- checked="checked"><var id="lang_background_none"></var></label>
21
- <label><input id="coloredRadio" class="iptradio" type="radio" name="t" value="color"><var
22
- id="lang_background_colored"></var></label>
23
- </div>
24
- <div class="wrapcolor pl">
25
- <div class="color">
26
- <var id="lang_background_color"></var>:
27
- </div>
28
- <div id="colorPicker"></div>
29
- <div class="clear"></div>
30
- </div>
31
- <div class="wrapcolor pl">
32
- <label><var id="lang_background_netimg"></var>:</label><input class="txt" type="text" id="url">
33
- </div>
34
- <div id="alignment" class="alignment">
35
- <var id="lang_background_align"></var>:<select id="repeatType">
36
- <option value="center"></option>
37
- <option value="repeat-x"></option>
38
- <option value="repeat-y"></option>
39
- <option value="repeat"></option>
40
- <option value="self"></option>
41
- </select>
42
- </div>
43
- <div id="custom">
44
- <var id="lang_background_position"></var>:x:<input type="text" size="1" id="x" maxlength="4"
45
- value="0">px&nbsp;&nbsp;y:<input type="text"
46
- size="1"
47
- id="y"
48
- maxlength="4"
49
- value="0">px
50
- </div>
51
- </div>
52
- </fieldset>
53
-
54
- </div>
55
- </div>
56
- </div>
57
- <script type="text/javascript" src="background.js?1ed7635f"></script>
58
- </body>
59
- </html>
1
+ <!DOCTYPE HTML>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
5
+ <script type="text/javascript" src="../internal.js?aea0c61c"></script>
6
+ <link rel="stylesheet" type="text/css" href="background.css?da860c7a">
7
+ </head>
8
+ <body>
9
+ <div id="bg_container" class="wrapper">
10
+ <div id="tabHeads" class="tabhead">
11
+ <span class="focus" data-content-id="normal"><var id="lang_background_normal"></var></span>
12
+ </div>
13
+ <div id="tabBodys" class="tabbody">
14
+ <div id="normal" class="panel focus">
15
+ <fieldset class="bgarea">
16
+ <legend><var id="lang_background_set"></var></legend>
17
+ <div class="content">
18
+ <div>
19
+ <label><input id="nocolorRadio" class="iptradio" type="radio" name="t" value="none"
20
+ checked="checked"><var id="lang_background_none"></var></label>
21
+ <label><input id="coloredRadio" class="iptradio" type="radio" name="t" value="color"><var
22
+ id="lang_background_colored"></var></label>
23
+ </div>
24
+ <div class="wrapcolor pl">
25
+ <div class="color">
26
+ <var id="lang_background_color"></var>:
27
+ </div>
28
+ <div id="colorPicker"></div>
29
+ <div class="clear"></div>
30
+ </div>
31
+ <div class="wrapcolor pl">
32
+ <label><var id="lang_background_netimg"></var>:</label><input class="txt" type="text" id="url">
33
+ </div>
34
+ <div id="alignment" class="alignment">
35
+ <var id="lang_background_align"></var>:<select id="repeatType">
36
+ <option value="center"></option>
37
+ <option value="repeat-x"></option>
38
+ <option value="repeat-y"></option>
39
+ <option value="repeat"></option>
40
+ <option value="self"></option>
41
+ </select>
42
+ </div>
43
+ <div id="custom">
44
+ <var id="lang_background_position"></var>:x:<input type="text" size="1" id="x" maxlength="4"
45
+ value="0">px&nbsp;&nbsp;y:<input type="text"
46
+ size="1"
47
+ id="y"
48
+ maxlength="4"
49
+ value="0">px
50
+ </div>
51
+ </div>
52
+ </fieldset>
53
+
54
+ </div>
55
+ </div>
56
+ </div>
57
+ <script type="text/javascript" src="background.js?dd36acd0"></script>
58
+ </body>
59
+ </html>