@lingxiteam/lcdp-ueditor-react 1.0.3-alpha.4 → 1.0.3-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/es/LcdpUeditor.js +52 -40
  2. package/es/const.js +4 -4
  3. package/es/defaultConfig.json +76 -76
  4. package/es/tools/UeditorResourceLoader.js +6 -6
  5. package/es/tools/loadScript.js +3 -3
  6. package/lib/LcdpUeditor.js +16 -5
  7. package/lib/defaultConfig.json +76 -76
  8. package/package.json +35 -35
  9. package/ueditor-resource/dialogs/anchor/anchor.html +62 -62
  10. package/ueditor-resource/dialogs/attachment/attachment.css +2 -2
  11. package/ueditor-resource/dialogs/attachment/attachment.html +61 -61
  12. package/ueditor-resource/dialogs/audio/audio.css +2 -2
  13. package/ueditor-resource/dialogs/audio/audio.html +93 -93
  14. package/ueditor-resource/dialogs/background/background.css +2 -2
  15. package/ueditor-resource/dialogs/background/background.html +59 -59
  16. package/ueditor-resource/dialogs/contentimport/contentimport.html +176 -176
  17. package/ueditor-resource/dialogs/emotion/emotion.css +2 -2
  18. package/ueditor-resource/dialogs/emotion/emotion.html +70 -70
  19. package/ueditor-resource/dialogs/formula/formula.html +98 -98
  20. package/ueditor-resource/dialogs/help/help.css +2 -2
  21. package/ueditor-resource/dialogs/help/help.html +82 -82
  22. package/ueditor-resource/dialogs/image/image.css +2 -2
  23. package/ueditor-resource/dialogs/image/image.html +144 -144
  24. package/ueditor-resource/dialogs/insertframe/insertframe.html +135 -135
  25. package/ueditor-resource/dialogs/link/link.html +148 -148
  26. package/ueditor-resource/dialogs/preview/preview.html +45 -45
  27. package/ueditor-resource/dialogs/scrawl/scrawl.css +2 -2
  28. package/ueditor-resource/dialogs/scrawl/scrawl.html +95 -95
  29. package/ueditor-resource/dialogs/searchreplace/searchreplace.html +144 -144
  30. package/ueditor-resource/dialogs/spechars/spechars.html +42 -42
  31. package/ueditor-resource/dialogs/table/edittable.css +2 -2
  32. package/ueditor-resource/dialogs/table/edittable.html +69 -69
  33. package/ueditor-resource/dialogs/table/edittd.html +62 -62
  34. package/ueditor-resource/dialogs/table/edittip.html +33 -33
  35. package/ueditor-resource/dialogs/template/template.css +2 -2
  36. package/ueditor-resource/dialogs/template/template.html +26 -26
  37. package/ueditor-resource/dialogs/video/video.css +2 -2
  38. package/ueditor-resource/dialogs/video/video.html +114 -114
  39. package/ueditor-resource/dialogs/wordimage/wordimage.html +221 -221
  40. package/ueditor-resource/themes/default/css/ueditor.css +2 -2
  41. package/ueditor-resource/themes/default/dialog.css +2 -2
  42. package/ueditor-resource/themes/default/dialogbase.css +2 -2
  43. package/ueditor-resource/themes/default/exts/ai.svg +12 -12
  44. package/ueditor-resource/themes/default/exts/apk.svg +12 -12
  45. package/ueditor-resource/themes/default/exts/chm.svg +12 -12
  46. package/ueditor-resource/themes/default/exts/css.svg +12 -12
  47. package/ueditor-resource/themes/default/exts/doc.svg +22 -22
  48. package/ueditor-resource/themes/default/exts/docx.svg +22 -22
  49. package/ueditor-resource/themes/default/exts/dwg.svg +16 -16
  50. package/ueditor-resource/themes/default/exts/folder.svg +3 -3
  51. package/ueditor-resource/themes/default/exts/gif.svg +14 -14
  52. package/ueditor-resource/themes/default/exts/html.svg +12 -12
  53. package/ueditor-resource/themes/default/exts/jpeg.svg +14 -14
  54. package/ueditor-resource/themes/default/exts/jpg.svg +14 -14
  55. package/ueditor-resource/themes/default/exts/log.svg +12 -12
  56. package/ueditor-resource/themes/default/exts/mp3.svg +14 -14
  57. package/ueditor-resource/themes/default/exts/mp4.svg +12 -12
  58. package/ueditor-resource/themes/default/exts/pdf.svg +14 -14
  59. package/ueditor-resource/themes/default/exts/png.svg +14 -14
  60. package/ueditor-resource/themes/default/exts/ppt.svg +24 -24
  61. package/ueditor-resource/themes/default/exts/pptx.svg +24 -24
  62. package/ueditor-resource/themes/default/exts/psd.svg +12 -12
  63. package/ueditor-resource/themes/default/exts/rar.svg +12 -12
  64. package/ueditor-resource/themes/default/exts/svg.svg +12 -12
  65. package/ueditor-resource/themes/default/exts/torrent.svg +14 -14
  66. package/ueditor-resource/themes/default/exts/txt.svg +14 -14
  67. package/ueditor-resource/themes/default/exts/unknown.svg +12 -12
  68. package/ueditor-resource/themes/default/exts/xls.svg +25 -25
  69. package/ueditor-resource/themes/default/exts/xlsx.svg +25 -25
  70. package/ueditor-resource/themes/default/exts/zip.svg +12 -12
  71. package/ueditor-resource/themes/iframe.css +2 -2
  72. package/ueditor-resource/third-party/SyntaxHighlighter/shCoreDefault.css +2 -2
  73. package/ueditor-resource/third-party/codemirror/codemirror.css +2 -2
  74. package/ueditor-resource/third-party/webuploader/webuploader.css +2 -2
  75. package/ueditor-resource/third-party/zeroclipboard/ZeroClipboard.js +1255 -1255
  76. package/ueditor-resource/ueditor.all.js +3 -3
@@ -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?04dbe7f0"></script>
6
- <link rel="stylesheet" type="text/css" href="background.css?af7d41a2">
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?e67eb657"></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?04dbe7f0"></script>
6
+ <link rel="stylesheet" type="text/css" href="background.css?982ee6c2">
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?e67eb657"></script>
58
+ </body>
59
+ </html>
@@ -1,176 +1,176 @@
1
- <!DOCTYPE html>
2
- <head>
3
- <title></title>
4
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
5
- <script type="text/javascript" src="../internal.js?04dbe7f0"></script>
6
- <style type="text/css">
7
- .wrapper {
8
- width: 600px;
9
- padding: 10px;
10
- height: 352px;
11
- overflow: hidden;
12
- position: relative;
13
- border-bottom: 1px solid #d7d7d7;
14
- }
15
-
16
- .wrapper .file-upload {
17
- display: flex;
18
- align-items: center;
19
- }
20
-
21
- .wrapper .file-upload .file-tip {
22
- color: #999;
23
- font-size: 12px;
24
- padding-left: 10px;
25
- flex-grow: 1;
26
- }
27
-
28
- .wrapper .file-manual {
29
- background: #EEE;
30
- padding: 10px;
31
- border-radius: 5px;
32
- margin-top: 10px;
33
- line-height: 2;
34
- }
35
-
36
- .wrapper .file-manual .title {
37
- font-weight: bold;
38
- font-size: 120%;
39
- }
40
-
41
- .wrapper .file-manual .body {
42
- }
43
-
44
- .wrapper .file-manual .body li {
45
- list-style: disc;
46
- margin-left: 20px;
47
- }
48
-
49
- .wrapper .upload-button {
50
- width: 100px;
51
- height: 30px;
52
- background-color: #F8F8F8;
53
- border: 1px solid #EEE;
54
- border-radius: 4px;
55
- text-align: center;
56
- line-height: 28px;
57
- cursor: pointer;
58
- position: relative;
59
- flex-shrink: 0;
60
- margin-right: 5px;
61
- }
62
-
63
- .wrapper .upload-button .text {
64
- display: inline-block;
65
- vertical-align: middle;
66
- }
67
-
68
- .wrapper .upload-button input {
69
- position: absolute;
70
- left: 0;
71
- top: 0;
72
- opacity: 0;
73
- cursor: pointer;
74
- height: 100%;
75
- width: 100%;
76
- }
77
-
78
- .wrapper .file-result {
79
- border: 1px solid #333;
80
- padding: 10px;
81
- border-radius: 5px;
82
- position: absolute;
83
- left: 10px;
84
- right: 10px;
85
- top: 50px;
86
- background: #FFF;
87
- bottom: 10px;
88
- overflow: auto;
89
- display: none;
90
- }
91
- .wrapper .file-input{
92
- position: absolute;
93
- left: 10px;
94
- right: 10px;
95
- top: 50px;
96
- background: #EEE;
97
- bottom: 10px;
98
- border-radius: 5px;
99
- display:none;
100
- }
101
- .wrapper .file-input textarea{
102
- position: absolute;
103
- left: 10px;
104
- right: 10px;
105
- bottom: 10px;
106
- border: none;
107
- resize: none;
108
- border-radius: 5px;
109
- padding: 5px;
110
- outline: none;
111
- top: 30px;
112
- }
113
- .wrapper .file-input .tool{
114
- text-align: right;
115
- padding: 5px 10px;
116
- }
117
- .wrapper .file-input .tool a{
118
- display: inline-block;
119
- text-decoration: none;
120
- color: #333;
121
- background: #FFF;
122
- padding: 0 10px;
123
- line-height: 20px;
124
- border-radius: 3px;
125
- }
126
- </style>
127
- </head>
128
- <body>
129
- <div class="wrapper">
130
- <div class="file-upload">
131
- <div class="upload-button">
132
- <div class="text">选择本地文件</div>
133
- <input type="file" id="contentImport"/>
134
- </div>
135
- <div class="upload-button">
136
- <div class="text" onclick="$('.file-input').show();">粘贴Markdown</div>
137
- </div>
138
- <div class="file-tip"></div>
139
- </div>
140
- <div class="file-manual">
141
- <div class="title">
142
- 支持文档格式
143
- </div>
144
- <div class="body">
145
- <ul>
146
- <li><b>Word</b>:docx</li>
147
- <li><b>Markdown</b>:md</li>
148
- </ul>
149
- </div>
150
- </div>
151
- <div class="file-result"></div>
152
- <div class="file-input">
153
- <textarea id="fileInputContent"></textarea>
154
- <div class="tool">
155
- <a href="javascript:;" id="fileInputConfirm">
156
- 确定
157
- </a>
158
- <a href="javascript:;" onclick="$(this).closest('.file-input').hide();">
159
- 关闭
160
- </a>
161
- </div>
162
- </div>
163
- </div>
164
- <script src="../../third-party/jquery-3.5.1.js?9a0f9431"></script>
165
- <script src="https://cdn.bootcdn.net/ajax/libs/mammoth/1.6.0/mammoth.browser.min.js"></script>
166
- <script src="https://cdn.bootcdn.net/ajax/libs/showdown/2.1.0/showdown.min.js"></script>
167
- <script type="text/javascript" src="contentimport.js?100d2e1a"></script>
168
- <script type="text/javascript">
169
- utils.domReady(function () {
170
- var options = {};
171
- var callbacks = {};
172
- contentImport.init(options, callbacks);
173
- });
174
- </script>
175
- </body>
176
- </html>
1
+ <!DOCTYPE html>
2
+ <head>
3
+ <title></title>
4
+ <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
5
+ <script type="text/javascript" src="../internal.js?04dbe7f0"></script>
6
+ <style type="text/css">
7
+ .wrapper {
8
+ width: 600px;
9
+ padding: 10px;
10
+ height: 352px;
11
+ overflow: hidden;
12
+ position: relative;
13
+ border-bottom: 1px solid #d7d7d7;
14
+ }
15
+
16
+ .wrapper .file-upload {
17
+ display: flex;
18
+ align-items: center;
19
+ }
20
+
21
+ .wrapper .file-upload .file-tip {
22
+ color: #999;
23
+ font-size: 12px;
24
+ padding-left: 10px;
25
+ flex-grow: 1;
26
+ }
27
+
28
+ .wrapper .file-manual {
29
+ background: #EEE;
30
+ padding: 10px;
31
+ border-radius: 5px;
32
+ margin-top: 10px;
33
+ line-height: 2;
34
+ }
35
+
36
+ .wrapper .file-manual .title {
37
+ font-weight: bold;
38
+ font-size: 120%;
39
+ }
40
+
41
+ .wrapper .file-manual .body {
42
+ }
43
+
44
+ .wrapper .file-manual .body li {
45
+ list-style: disc;
46
+ margin-left: 20px;
47
+ }
48
+
49
+ .wrapper .upload-button {
50
+ width: 100px;
51
+ height: 30px;
52
+ background-color: #F8F8F8;
53
+ border: 1px solid #EEE;
54
+ border-radius: 4px;
55
+ text-align: center;
56
+ line-height: 28px;
57
+ cursor: pointer;
58
+ position: relative;
59
+ flex-shrink: 0;
60
+ margin-right: 5px;
61
+ }
62
+
63
+ .wrapper .upload-button .text {
64
+ display: inline-block;
65
+ vertical-align: middle;
66
+ }
67
+
68
+ .wrapper .upload-button input {
69
+ position: absolute;
70
+ left: 0;
71
+ top: 0;
72
+ opacity: 0;
73
+ cursor: pointer;
74
+ height: 100%;
75
+ width: 100%;
76
+ }
77
+
78
+ .wrapper .file-result {
79
+ border: 1px solid #333;
80
+ padding: 10px;
81
+ border-radius: 5px;
82
+ position: absolute;
83
+ left: 10px;
84
+ right: 10px;
85
+ top: 50px;
86
+ background: #FFF;
87
+ bottom: 10px;
88
+ overflow: auto;
89
+ display: none;
90
+ }
91
+ .wrapper .file-input{
92
+ position: absolute;
93
+ left: 10px;
94
+ right: 10px;
95
+ top: 50px;
96
+ background: #EEE;
97
+ bottom: 10px;
98
+ border-radius: 5px;
99
+ display:none;
100
+ }
101
+ .wrapper .file-input textarea{
102
+ position: absolute;
103
+ left: 10px;
104
+ right: 10px;
105
+ bottom: 10px;
106
+ border: none;
107
+ resize: none;
108
+ border-radius: 5px;
109
+ padding: 5px;
110
+ outline: none;
111
+ top: 30px;
112
+ }
113
+ .wrapper .file-input .tool{
114
+ text-align: right;
115
+ padding: 5px 10px;
116
+ }
117
+ .wrapper .file-input .tool a{
118
+ display: inline-block;
119
+ text-decoration: none;
120
+ color: #333;
121
+ background: #FFF;
122
+ padding: 0 10px;
123
+ line-height: 20px;
124
+ border-radius: 3px;
125
+ }
126
+ </style>
127
+ </head>
128
+ <body>
129
+ <div class="wrapper">
130
+ <div class="file-upload">
131
+ <div class="upload-button">
132
+ <div class="text">选择本地文件</div>
133
+ <input type="file" id="contentImport"/>
134
+ </div>
135
+ <div class="upload-button">
136
+ <div class="text" onclick="$('.file-input').show();">粘贴Markdown</div>
137
+ </div>
138
+ <div class="file-tip"></div>
139
+ </div>
140
+ <div class="file-manual">
141
+ <div class="title">
142
+ 支持文档格式
143
+ </div>
144
+ <div class="body">
145
+ <ul>
146
+ <li><b>Word</b>:docx</li>
147
+ <li><b>Markdown</b>:md</li>
148
+ </ul>
149
+ </div>
150
+ </div>
151
+ <div class="file-result"></div>
152
+ <div class="file-input">
153
+ <textarea id="fileInputContent"></textarea>
154
+ <div class="tool">
155
+ <a href="javascript:;" id="fileInputConfirm">
156
+ 确定
157
+ </a>
158
+ <a href="javascript:;" onclick="$(this).closest('.file-input').hide();">
159
+ 关闭
160
+ </a>
161
+ </div>
162
+ </div>
163
+ </div>
164
+ <script src="../../third-party/jquery-3.5.1.js?9a0f9431"></script>
165
+ <script src="https://cdn.bootcdn.net/ajax/libs/mammoth/1.6.0/mammoth.browser.min.js"></script>
166
+ <script src="https://cdn.bootcdn.net/ajax/libs/showdown/2.1.0/showdown.min.js"></script>
167
+ <script type="text/javascript" src="contentimport.js?100d2e1a"></script>
168
+ <script type="text/javascript">
169
+ utils.domReady(function () {
170
+ var options = {};
171
+ var callbacks = {};
172
+ contentImport.init(options, callbacks);
173
+ });
174
+ </script>
175
+ </body>
176
+ </html>
@@ -1,3 +1,3 @@
1
- /*! UEditorPlus v2.0.0*/
2
-
1
+ /*! UEditorPlus v2.0.0*/
2
+
3
3
  .jd img{background:transparent url(images/jxface2.gif?v=1.1) no-repeat scroll left top;cursor:pointer;width:35px;height:35px;display:block}.pp img{background:transparent url(images/fface.gif?v=1.1) no-repeat scroll left top;cursor:pointer;width:25px;height:25px;display:block}.ldw img{background:transparent url(images/wface.gif?v=1.1) no-repeat scroll left top;cursor:pointer;width:35px;height:35px;display:block}.tsj img{background:transparent url(images/tface.gif?v=1.1) no-repeat scroll left top;cursor:pointer;width:35px;height:35px;display:block}.cat img{background:transparent url(images/cface.gif?v=1.1) no-repeat scroll left top;cursor:pointer;width:35px;height:35px;display:block}.bb img{background:transparent url(images/bface.gif?v=1.1) no-repeat scroll left top;cursor:pointer;width:35px;height:35px;display:block}.youa img{background:transparent url(images/yface.gif?v=1.1) no-repeat scroll left top;cursor:pointer;width:35px;height:35px;display:block}.smileytable td{height:37px}#tabPanel{margin-left:5px;overflow:hidden}#tabContent{float:left;background:#FFF}#tabContent div{display:none;width:480px;overflow:hidden}#tabIconReview.show{left:17px;display:block}.menuFocus{background:#ACCD3C}.menuDefault{background:#FFF}#tabIconReview{position:absolute;left:406px;left:398px \9;top:41px;z-index:65533;width:90px;height:76px}img.review{width:90px;height:76px;border:2px solid #9cb945;background:#FFF;background-position:center;background-repeat:no-repeat}.wrapper .tabbody{position:relative;float:left;clear:both;padding:10px;width:95%}.tabbody table{width:100%}.tabbody td{border:1px solid #BAC498}.tabbody td span{display:block;zoom:1;padding:0 4px}