@lingxiteam/lcdp-ueditor-react 1.0.0-alpha.19 → 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.
- package/es/LcdpUeditor.js +34 -34
- package/es/const.js +4 -4
- package/es/defaultConfig.json +76 -76
- package/es/tools/UeditorResourceLoader.js +6 -6
- package/es/tools/loadScript.js +3 -3
- package/lib/defaultConfig.json +76 -76
- package/package.json +34 -34
- package/ueditor-resource/dialogs/anchor/anchor.html +62 -62
- package/ueditor-resource/dialogs/attachment/attachment.css +716 -716
- package/ueditor-resource/dialogs/attachment/attachment.html +61 -61
- package/ueditor-resource/dialogs/attachment/attachment.js +803 -803
- package/ueditor-resource/dialogs/audio/audio.css +879 -879
- package/ueditor-resource/dialogs/audio/audio.html +93 -93
- package/ueditor-resource/dialogs/audio/audio.js +815 -815
- package/ueditor-resource/dialogs/background/background.css +193 -193
- package/ueditor-resource/dialogs/background/background.html +59 -59
- package/ueditor-resource/dialogs/background/background.js +370 -370
- package/ueditor-resource/dialogs/contentimport/contentimport.html +176 -176
- package/ueditor-resource/dialogs/contentimport/contentimport.js +91 -91
- package/ueditor-resource/dialogs/emotion/emotion.css +129 -129
- package/ueditor-resource/dialogs/emotion/emotion.html +70 -70
- package/ueditor-resource/dialogs/emotion/emotion.js +186 -186
- package/ueditor-resource/dialogs/formula/formula.html +98 -98
- package/ueditor-resource/dialogs/formula/formula.js +147 -147
- package/ueditor-resource/dialogs/help/help.css +37 -37
- package/ueditor-resource/dialogs/help/help.html +82 -82
- package/ueditor-resource/dialogs/help/help.js +57 -57
- package/ueditor-resource/dialogs/image/image.css +768 -768
- package/ueditor-resource/dialogs/image/image.html +144 -144
- package/ueditor-resource/dialogs/image/image.js +1060 -1060
- package/ueditor-resource/dialogs/insertframe/insertframe.html +135 -135
- package/ueditor-resource/dialogs/internal.js +81 -81
- package/ueditor-resource/dialogs/link/link.html +148 -148
- package/ueditor-resource/dialogs/preview/preview.html +45 -45
- package/ueditor-resource/dialogs/scrawl/scrawl.css +324 -324
- package/ueditor-resource/dialogs/scrawl/scrawl.html +95 -95
- package/ueditor-resource/dialogs/scrawl/scrawl.js +682 -682
- package/ueditor-resource/dialogs/searchreplace/searchreplace.html +144 -144
- package/ueditor-resource/dialogs/searchreplace/searchreplace.js +174 -174
- package/ueditor-resource/dialogs/spechars/spechars.html +42 -42
- package/ueditor-resource/dialogs/spechars/spechars.js +86 -86
- package/ueditor-resource/dialogs/table/edittable.css +85 -85
- package/ueditor-resource/dialogs/table/edittable.html +69 -69
- package/ueditor-resource/dialogs/table/edittable.js +241 -241
- package/ueditor-resource/dialogs/table/edittd.html +62 -62
- package/ueditor-resource/dialogs/table/edittip.html +33 -33
- package/ueditor-resource/dialogs/template/config.js +42 -42
- package/ueditor-resource/dialogs/template/template.css +99 -99
- package/ueditor-resource/dialogs/template/template.html +26 -26
- package/ueditor-resource/dialogs/template/template.js +53 -53
- package/ueditor-resource/dialogs/video/video.css +909 -909
- package/ueditor-resource/dialogs/video/video.html +114 -114
- package/ueditor-resource/dialogs/video/video.js +867 -867
- package/ueditor-resource/dialogs/wordimage/wordimage.html +221 -221
- package/ueditor-resource/dialogs/wordimage/wordimage.js +93 -93
- package/ueditor-resource/lang/en/en.js +686 -686
- package/ueditor-resource/lang/zh-cn/zh-cn.js +748 -748
- package/ueditor-resource/lang/zh-tw/zh-tw.js +748 -748
- package/ueditor-resource/plugins/demo/demo.js +3 -3
- package/ueditor-resource/themes/default/css/ueditor.css +2148 -2148
- package/ueditor-resource/themes/default/dialog.css +17 -17
- package/ueditor-resource/themes/default/dialogbase.css +132 -132
- package/ueditor-resource/themes/default/exts/ai.svg +12 -12
- package/ueditor-resource/themes/default/exts/apk.svg +12 -12
- package/ueditor-resource/themes/default/exts/chm.svg +12 -12
- package/ueditor-resource/themes/default/exts/css.svg +12 -12
- package/ueditor-resource/themes/default/exts/doc.svg +22 -22
- package/ueditor-resource/themes/default/exts/docx.svg +22 -22
- package/ueditor-resource/themes/default/exts/dwg.svg +16 -16
- package/ueditor-resource/themes/default/exts/folder.svg +3 -3
- package/ueditor-resource/themes/default/exts/gif.svg +14 -14
- package/ueditor-resource/themes/default/exts/html.svg +12 -12
- package/ueditor-resource/themes/default/exts/jpeg.svg +14 -14
- package/ueditor-resource/themes/default/exts/jpg.svg +14 -14
- package/ueditor-resource/themes/default/exts/log.svg +12 -12
- package/ueditor-resource/themes/default/exts/mp3.svg +14 -14
- package/ueditor-resource/themes/default/exts/mp4.svg +12 -12
- package/ueditor-resource/themes/default/exts/pdf.svg +14 -14
- package/ueditor-resource/themes/default/exts/png.svg +14 -14
- package/ueditor-resource/themes/default/exts/ppt.svg +24 -24
- package/ueditor-resource/themes/default/exts/pptx.svg +24 -24
- package/ueditor-resource/themes/default/exts/psd.svg +12 -12
- package/ueditor-resource/themes/default/exts/rar.svg +12 -12
- package/ueditor-resource/themes/default/exts/svg.svg +12 -12
- package/ueditor-resource/themes/default/exts/torrent.svg +14 -14
- package/ueditor-resource/themes/default/exts/txt.svg +14 -14
- package/ueditor-resource/themes/default/exts/unknown.svg +12 -12
- package/ueditor-resource/themes/default/exts/xls.svg +25 -25
- package/ueditor-resource/themes/default/exts/xlsx.svg +25 -25
- package/ueditor-resource/themes/default/exts/zip.svg +12 -12
- package/ueditor-resource/themes/iframe.css +63 -63
- package/ueditor-resource/third-party/SyntaxHighlighter/shCore.js +3655 -3655
- package/ueditor-resource/third-party/clipboard/clipboard.js +752 -752
- package/ueditor-resource/third-party/codemirror/codemirror.css +106 -106
- package/ueditor-resource/third-party/codemirror/codemirror.js +3581 -3581
- package/ueditor-resource/third-party/jquery-3.5.1.js +1 -1
- package/ueditor-resource/third-party/jquery-3.5.1_1.js +4314 -4314
- package/ueditor-resource/third-party/webuploader/webuploader.css +88 -88
- package/ueditor-resource/third-party/webuploader/webuploader.js +3 -3
- package/ueditor-resource/third-party/zeroclipboard/ZeroClipboard.js +1255 -1255
- package/ueditor-resource/ueditor.all.js +5269 -5269
- package/ueditor-resource/ueditor.config.js +655 -655
- package/ueditor-resource/ueditor.parse.js +13 -13
- package/ueditor-resource/index.html +0 -146
|
@@ -1,62 +1,62 @@
|
|
|
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
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
6
|
-
<title></title>
|
|
7
|
-
<style type="text/css">
|
|
8
|
-
* {
|
|
9
|
-
color: #838383;
|
|
10
|
-
margin: 0;
|
|
11
|
-
padding: 0
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
html, body {
|
|
15
|
-
font-size: 12px;
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.content {
|
|
20
|
-
padding: 5px 0 0 15px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
input {
|
|
24
|
-
margin-left: 4px;
|
|
25
|
-
box-sizing: border-box;
|
|
26
|
-
width: 210px;
|
|
27
|
-
height: 30px;
|
|
28
|
-
line-height: 30px;
|
|
29
|
-
border: 1px solid #d7d7d7;
|
|
30
|
-
border-radius: 3px;
|
|
31
|
-
padding: 0 5px;
|
|
32
|
-
outline: none;
|
|
33
|
-
}
|
|
34
|
-
</style>
|
|
35
|
-
</head>
|
|
36
|
-
<body>
|
|
37
|
-
<div class="content">
|
|
38
|
-
<span><var id="lang_input_anchorName"></var></span><input id="anchorName" value=""/>
|
|
39
|
-
</div>
|
|
40
|
-
<script type="text/javascript" src="../internal.js?
|
|
41
|
-
<script type="text/javascript">
|
|
42
|
-
var anchorInput = $G('anchorName'),
|
|
43
|
-
node = editor.selection.getRange().getClosedNode();
|
|
44
|
-
if (node && node.tagName == 'IMG' && (node = node.getAttribute('anchorname'))) {
|
|
45
|
-
anchorInput.value = node;
|
|
46
|
-
}
|
|
47
|
-
anchorInput.onkeydown = function (evt) {
|
|
48
|
-
evt = evt || window.event;
|
|
49
|
-
if (evt.keyCode == 13) {
|
|
50
|
-
editor.execCommand('anchor', anchorInput.value);
|
|
51
|
-
dialog.close();
|
|
52
|
-
domUtils.preventDefault(evt)
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
dialog.onok = function () {
|
|
56
|
-
editor.execCommand('anchor', anchorInput.value);
|
|
57
|
-
dialog.close();
|
|
58
|
-
};
|
|
59
|
-
$focus(anchorInput);
|
|
60
|
-
</script>
|
|
61
|
-
</body>
|
|
62
|
-
</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
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
6
|
+
<title></title>
|
|
7
|
+
<style type="text/css">
|
|
8
|
+
* {
|
|
9
|
+
color: #838383;
|
|
10
|
+
margin: 0;
|
|
11
|
+
padding: 0
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
html, body {
|
|
15
|
+
font-size: 12px;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.content {
|
|
20
|
+
padding: 5px 0 0 15px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
input {
|
|
24
|
+
margin-left: 4px;
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
width: 210px;
|
|
27
|
+
height: 30px;
|
|
28
|
+
line-height: 30px;
|
|
29
|
+
border: 1px solid #d7d7d7;
|
|
30
|
+
border-radius: 3px;
|
|
31
|
+
padding: 0 5px;
|
|
32
|
+
outline: none;
|
|
33
|
+
}
|
|
34
|
+
</style>
|
|
35
|
+
</head>
|
|
36
|
+
<body>
|
|
37
|
+
<div class="content">
|
|
38
|
+
<span><var id="lang_input_anchorName"></var></span><input id="anchorName" value=""/>
|
|
39
|
+
</div>
|
|
40
|
+
<script type="text/javascript" src="../internal.js?aea0c61c"></script>
|
|
41
|
+
<script type="text/javascript">
|
|
42
|
+
var anchorInput = $G('anchorName'),
|
|
43
|
+
node = editor.selection.getRange().getClosedNode();
|
|
44
|
+
if (node && node.tagName == 'IMG' && (node = node.getAttribute('anchorname'))) {
|
|
45
|
+
anchorInput.value = node;
|
|
46
|
+
}
|
|
47
|
+
anchorInput.onkeydown = function (evt) {
|
|
48
|
+
evt = evt || window.event;
|
|
49
|
+
if (evt.keyCode == 13) {
|
|
50
|
+
editor.execCommand('anchor', anchorInput.value);
|
|
51
|
+
dialog.close();
|
|
52
|
+
domUtils.preventDefault(evt)
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
dialog.onok = function () {
|
|
56
|
+
editor.execCommand('anchor', anchorInput.value);
|
|
57
|
+
dialog.close();
|
|
58
|
+
};
|
|
59
|
+
$focus(anchorInput);
|
|
60
|
+
</script>
|
|
61
|
+
</body>
|
|
62
|
+
</html>
|