ueditor-plus-assets 0.0.12 → 0.0.13
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/dist/UEditorPlus/dialogs/video/video.js +7 -2
- package/dist/UEditorPlus/lang/en/en.js +788 -788
- package/dist/UEditorPlus/lang/zh-cn/zh-cn.js +812 -812
- package/dist/UEditorPlus/ueditor.all.js +706 -217
- package/dist/UEditorPlus/ueditor.config.js +5 -1
- package/dist/UEditorPlus/ueditor.parse.js +13 -13
- package/package.json +4 -2
- package/dist/UEditorPlus/lang/zh-tw/images/copy.png +0 -0
- package/dist/UEditorPlus/lang/zh-tw/images/localimage.png +0 -0
- package/dist/UEditorPlus/lang/zh-tw/images/music.png +0 -0
- package/dist/UEditorPlus/lang/zh-tw/images/upload.png +0 -0
- package/dist/UEditorPlus/lang/zh-tw/zh-tw.js +0 -813
|
@@ -492,6 +492,7 @@
|
|
|
492
492
|
"italic", // 斜体
|
|
493
493
|
"underline", // 下划线
|
|
494
494
|
"strikethrough", // 删除线
|
|
495
|
+
// "link", // 超链接
|
|
495
496
|
"fontborder", // 字符边框
|
|
496
497
|
"forecolor", // 字体颜色
|
|
497
498
|
"backcolor", // 背景色
|
|
@@ -501,6 +502,9 @@
|
|
|
501
502
|
"imageright", // 图片右浮动
|
|
502
503
|
"insertimage", // 插入图片
|
|
503
504
|
"formula",
|
|
505
|
+
|
|
506
|
+
"insertvideo", // 插入视频
|
|
507
|
+
|
|
504
508
|
// "justifyleft", // 居左对齐
|
|
505
509
|
// "justifycenter", // 居中对齐
|
|
506
510
|
// "justifyright", // 居右对齐
|
|
@@ -519,7 +523,7 @@
|
|
|
519
523
|
]
|
|
520
524
|
// 动态选项配置,该值可以通过后端配置接口动态返回,动态控制shortcutMenu的功能
|
|
521
525
|
,shortcutMenuShows: {
|
|
522
|
-
|
|
526
|
+
"ai": false,
|
|
523
527
|
}
|
|
524
528
|
|
|
525
529
|
// 是否启用元素路径,默认是显示
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* UEditorPlus parse
|
|
3
|
-
* version: 2.0.0
|
|
4
|
-
*/
|
|
5
|
-
(function(){
|
|
6
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* UEditorPlus parse
|
|
3
|
+
* version: 2.0.0
|
|
4
|
+
*/
|
|
5
|
+
(function(){
|
|
6
|
+
|
|
7
7
|
(function () {
|
|
8
8
|
UE = window.UE || {};
|
|
9
9
|
var isIE = !!window.ActiveXObject;
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
});
|
|
373
373
|
};
|
|
374
374
|
})();
|
|
375
|
-
|
|
375
|
+
|
|
376
376
|
UE.parse.register("insertcode", function (utils) {
|
|
377
377
|
var pres = this.root.getElementsByTagName("pre");
|
|
378
378
|
if (pres.length) {
|
|
@@ -422,7 +422,7 @@ UE.parse.register("insertcode", function (utils) {
|
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
424
|
});
|
|
425
|
-
|
|
425
|
+
|
|
426
426
|
UE.parse.register("table", function (utils) {
|
|
427
427
|
var me = this,
|
|
428
428
|
root = this.root,
|
|
@@ -643,7 +643,7 @@ UE.parse.register("table", function (utils) {
|
|
|
643
643
|
}
|
|
644
644
|
}
|
|
645
645
|
});
|
|
646
|
-
|
|
646
|
+
|
|
647
647
|
UE.parse.register("background", function (utils) {
|
|
648
648
|
var me = this,
|
|
649
649
|
root = me.root,
|
|
@@ -665,7 +665,7 @@ UE.parse.register("background", function (utils) {
|
|
|
665
665
|
document
|
|
666
666
|
);
|
|
667
667
|
});
|
|
668
|
-
|
|
668
|
+
|
|
669
669
|
UE.parse.register("list", function (utils) {
|
|
670
670
|
var customCss = [],
|
|
671
671
|
customStyle = {
|
|
@@ -902,6 +902,6 @@ UE.parse.register("list", function (utils) {
|
|
|
902
902
|
});
|
|
903
903
|
}
|
|
904
904
|
});
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
})();
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ueditor-plus-assets",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "Static assets for UEditorPlus",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -13,8 +13,10 @@
|
|
|
13
13
|
"README.md"
|
|
14
14
|
],
|
|
15
15
|
"scripts": {
|
|
16
|
+
"sync-from-demo": "node ./scripts/sync-from-demo.js",
|
|
16
17
|
"build": "node -e \"console.log('assets package: no build needed')\"",
|
|
17
|
-
"lint": "echo lint skipped"
|
|
18
|
+
"lint": "echo lint skipped",
|
|
19
|
+
"prepack": "node ./scripts/sync-from-demo.js"
|
|
18
20
|
},
|
|
19
21
|
"publishConfig": {
|
|
20
22
|
"access": "public",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|