@wangeditor-next/editor 5.2.4 → 5.2.5
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/CHANGELOG.md +8 -0
- package/dist/index.esm.js +77 -25
- package/dist/index.js +77 -25
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.2.5](https://github.com/cycleccc/wangEditor/compare/@wangeditor-next/editor@5.2.4...@wangeditor-next/editor@5.2.5) (2024-06-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @wangeditor-next/editor
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [5.2.4](https://github.com/cycleccc/wangEditor/compare/@wangeditor-next/editor@5.2.3...@wangeditor-next/editor@5.2.4) (2024-06-13)
|
|
7
15
|
|
|
8
16
|
|
package/dist/index.esm.js
CHANGED
|
@@ -17751,7 +17751,7 @@ var shouldClear = op => {
|
|
|
17751
17751
|
return true;
|
|
17752
17752
|
};
|
|
17753
17753
|
|
|
17754
|
-
|
|
17754
|
+
/******************************************************************************
|
|
17755
17755
|
Copyright (c) Microsoft Corporation.
|
|
17756
17756
|
|
|
17757
17757
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -17765,7 +17765,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
17765
17765
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
17766
17766
|
PERFORMANCE OF THIS SOFTWARE.
|
|
17767
17767
|
***************************************************************************** */
|
|
17768
|
-
/* global Reflect, Promise */
|
|
17768
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
17769
17769
|
|
|
17770
17770
|
var extendStatics$2 = function(d, b) {
|
|
17771
17771
|
extendStatics$2 = Object.setPrototypeOf ||
|
|
@@ -17822,11 +17822,20 @@ function __read$6(o, n) {
|
|
|
17822
17822
|
return ar;
|
|
17823
17823
|
}
|
|
17824
17824
|
|
|
17825
|
-
function __spreadArray(to, from) {
|
|
17826
|
-
for (var i = 0,
|
|
17827
|
-
|
|
17828
|
-
|
|
17829
|
-
|
|
17825
|
+
function __spreadArray(to, from, pack) {
|
|
17826
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
17827
|
+
if (ar || !(i in from)) {
|
|
17828
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
17829
|
+
ar[i] = from[i];
|
|
17830
|
+
}
|
|
17831
|
+
}
|
|
17832
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
17833
|
+
}
|
|
17834
|
+
|
|
17835
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
17836
|
+
var e = new Error(message);
|
|
17837
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
17838
|
+
};
|
|
17830
17839
|
|
|
17831
17840
|
/**
|
|
17832
17841
|
* An auto-incrementing identifier for keys.
|
|
@@ -19781,6 +19790,14 @@ function parseElemHtml($elem, editor) {
|
|
|
19781
19790
|
return parseCommonElemHtml($elem, editor);
|
|
19782
19791
|
}
|
|
19783
19792
|
else {
|
|
19793
|
+
if ($elem[0].childNodes.length > 1) {
|
|
19794
|
+
var childNodes = $elem[0].childNodes;
|
|
19795
|
+
return Array.from(childNodes).map(function (child) {
|
|
19796
|
+
$($elem[0]).empty();
|
|
19797
|
+
$($elem[0]).append($(child));
|
|
19798
|
+
return parseTextElemHtml($($elem[0]), editor);
|
|
19799
|
+
});
|
|
19800
|
+
}
|
|
19784
19801
|
return parseTextElemHtml($elem, editor);
|
|
19785
19802
|
}
|
|
19786
19803
|
}
|
|
@@ -27706,7 +27723,7 @@ var parseParagraphHtmlConf = {
|
|
|
27706
27723
|
parseElemHtml: parseParagraphHtml,
|
|
27707
27724
|
};
|
|
27708
27725
|
|
|
27709
|
-
|
|
27726
|
+
/******************************************************************************
|
|
27710
27727
|
Copyright (c) Microsoft Corporation.
|
|
27711
27728
|
|
|
27712
27729
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -27720,7 +27737,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
27720
27737
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
27721
27738
|
PERFORMANCE OF THIS SOFTWARE.
|
|
27722
27739
|
***************************************************************************** */
|
|
27723
|
-
/* global Reflect, Promise */
|
|
27740
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
27724
27741
|
|
|
27725
27742
|
var extendStatics$1 = function(d, b) {
|
|
27726
27743
|
extendStatics$1 = Object.setPrototypeOf ||
|
|
@@ -27764,7 +27781,7 @@ function __generator$2(thisArg, body) {
|
|
|
27764
27781
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
27765
27782
|
function step(op) {
|
|
27766
27783
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27767
|
-
while (_) try {
|
|
27784
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
27768
27785
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
27769
27786
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
27770
27787
|
switch (op[0]) {
|
|
@@ -27813,7 +27830,12 @@ function __read$5(o, n) {
|
|
|
27813
27830
|
finally { if (e) throw e.error; }
|
|
27814
27831
|
}
|
|
27815
27832
|
return ar;
|
|
27816
|
-
}
|
|
27833
|
+
}
|
|
27834
|
+
|
|
27835
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
27836
|
+
var e = new Error(message);
|
|
27837
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
27838
|
+
};
|
|
27817
27839
|
|
|
27818
27840
|
/**
|
|
27819
27841
|
* @description editor 插件,重写 editor API
|
|
@@ -33430,7 +33452,7 @@ var renderListItemConf = {
|
|
|
33430
33452
|
renderElem: renderListElem,
|
|
33431
33453
|
};
|
|
33432
33454
|
|
|
33433
|
-
|
|
33455
|
+
/******************************************************************************
|
|
33434
33456
|
Copyright (c) Microsoft Corporation.
|
|
33435
33457
|
|
|
33436
33458
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -33444,7 +33466,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
33444
33466
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
33445
33467
|
PERFORMANCE OF THIS SOFTWARE.
|
|
33446
33468
|
***************************************************************************** */
|
|
33447
|
-
/* global Reflect, Promise */
|
|
33469
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
33448
33470
|
|
|
33449
33471
|
var extendStatics = function(d, b) {
|
|
33450
33472
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -33500,7 +33522,12 @@ function __read$4(o, n) {
|
|
|
33500
33522
|
finally { if (e) throw e.error; }
|
|
33501
33523
|
}
|
|
33502
33524
|
return ar;
|
|
33503
|
-
}
|
|
33525
|
+
}
|
|
33526
|
+
|
|
33527
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
33528
|
+
var e = new Error(message);
|
|
33529
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
33530
|
+
};
|
|
33504
33531
|
|
|
33505
33532
|
/**
|
|
33506
33533
|
* @description table menu helpers
|
|
@@ -35949,7 +35976,7 @@ var zhResources$3 = {
|
|
|
35949
35976
|
i18nAddResources('en', enResources$3);
|
|
35950
35977
|
i18nAddResources('zh-CN', zhResources$3);
|
|
35951
35978
|
|
|
35952
|
-
|
|
35979
|
+
/******************************************************************************
|
|
35953
35980
|
Copyright (c) Microsoft Corporation.
|
|
35954
35981
|
|
|
35955
35982
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -35991,7 +36018,12 @@ function __read$3(o, n) {
|
|
|
35991
36018
|
finally { if (e) throw e.error; }
|
|
35992
36019
|
}
|
|
35993
36020
|
return ar;
|
|
35994
|
-
}
|
|
36021
|
+
}
|
|
36022
|
+
|
|
36023
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
36024
|
+
var e = new Error(message);
|
|
36025
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
36026
|
+
};
|
|
35995
36027
|
|
|
35996
36028
|
/**
|
|
35997
36029
|
* @description editor 插件,重写 editor API
|
|
@@ -37293,7 +37325,7 @@ var zhResources$2 = {
|
|
|
37293
37325
|
i18nAddResources('en', enResources$2);
|
|
37294
37326
|
i18nAddResources('zh-CN', zhResources$2);
|
|
37295
37327
|
|
|
37296
|
-
|
|
37328
|
+
/******************************************************************************
|
|
37297
37329
|
Copyright (c) Microsoft Corporation.
|
|
37298
37330
|
|
|
37299
37331
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -37335,7 +37367,7 @@ function __generator$1(thisArg, body) {
|
|
|
37335
37367
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
37336
37368
|
function step(op) {
|
|
37337
37369
|
if (f) throw new TypeError("Generator is already executing.");
|
|
37338
|
-
while (_) try {
|
|
37370
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
37339
37371
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
37340
37372
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
37341
37373
|
switch (op[0]) {
|
|
@@ -37392,7 +37424,12 @@ function __asyncValues$1(o) {
|
|
|
37392
37424
|
return m ? m.call(o) : (o = typeof __values$2 === "function" ? __values$2(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
37393
37425
|
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
37394
37426
|
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
37395
|
-
}
|
|
37427
|
+
}
|
|
37428
|
+
|
|
37429
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
37430
|
+
var e = new Error(message);
|
|
37431
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
37432
|
+
};
|
|
37396
37433
|
|
|
37397
37434
|
/**
|
|
37398
37435
|
* @description editor 插件,重写 editor API
|
|
@@ -38343,7 +38380,7 @@ var zhResources$1 = {
|
|
|
38343
38380
|
i18nAddResources('en', enResources$1);
|
|
38344
38381
|
i18nAddResources('zh-CN', zhResources$1);
|
|
38345
38382
|
|
|
38346
|
-
|
|
38383
|
+
/******************************************************************************
|
|
38347
38384
|
Copyright (c) Microsoft Corporation.
|
|
38348
38385
|
|
|
38349
38386
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -38385,7 +38422,7 @@ function __generator(thisArg, body) {
|
|
|
38385
38422
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
38386
38423
|
function step(op) {
|
|
38387
38424
|
if (f) throw new TypeError("Generator is already executing.");
|
|
38388
|
-
while (_) try {
|
|
38425
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
38389
38426
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
38390
38427
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
38391
38428
|
switch (op[0]) {
|
|
@@ -38442,7 +38479,12 @@ function __asyncValues(o) {
|
|
|
38442
38479
|
return m ? m.call(o) : (o = typeof __values$1 === "function" ? __values$1(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
38443
38480
|
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
38444
38481
|
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
38445
|
-
}
|
|
38482
|
+
}
|
|
38483
|
+
|
|
38484
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
38485
|
+
var e = new Error(message);
|
|
38486
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
38487
|
+
};
|
|
38446
38488
|
|
|
38447
38489
|
/**
|
|
38448
38490
|
* @description 上传文件
|
|
@@ -43561,7 +43603,7 @@ var codeHighlightModule = {
|
|
|
43561
43603
|
elemsToHtml: [codeToHtmlConf],
|
|
43562
43604
|
};
|
|
43563
43605
|
|
|
43564
|
-
|
|
43606
|
+
/******************************************************************************
|
|
43565
43607
|
Copyright (c) Microsoft Corporation.
|
|
43566
43608
|
|
|
43567
43609
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -43603,7 +43645,12 @@ function __read(o, n) {
|
|
|
43603
43645
|
finally { if (e) throw e.error; }
|
|
43604
43646
|
}
|
|
43605
43647
|
return ar;
|
|
43606
|
-
}
|
|
43648
|
+
}
|
|
43649
|
+
|
|
43650
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
43651
|
+
var e = new Error(message);
|
|
43652
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
43653
|
+
};
|
|
43607
43654
|
|
|
43608
43655
|
/**
|
|
43609
43656
|
* @description code-highlight decorate
|
|
@@ -43665,7 +43712,7 @@ var codeHighLightDecorate = function (nodeEntry) {
|
|
|
43665
43712
|
return ranges;
|
|
43666
43713
|
};
|
|
43667
43714
|
|
|
43668
|
-
|
|
43715
|
+
/******************************************************************************
|
|
43669
43716
|
Copyright (c) Microsoft Corporation.
|
|
43670
43717
|
|
|
43671
43718
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -43689,6 +43736,11 @@ var __assign = function() {
|
|
|
43689
43736
|
return t;
|
|
43690
43737
|
};
|
|
43691
43738
|
return __assign.apply(this, arguments);
|
|
43739
|
+
};
|
|
43740
|
+
|
|
43741
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
43742
|
+
var e = new Error(message);
|
|
43743
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
43692
43744
|
};
|
|
43693
43745
|
|
|
43694
43746
|
/**
|
package/dist/index.js
CHANGED
|
@@ -21944,7 +21944,7 @@
|
|
|
21944
21944
|
};
|
|
21945
21945
|
var withHistory_1 = withHistory;
|
|
21946
21946
|
|
|
21947
|
-
|
|
21947
|
+
/******************************************************************************
|
|
21948
21948
|
Copyright (c) Microsoft Corporation.
|
|
21949
21949
|
|
|
21950
21950
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -21958,7 +21958,7 @@
|
|
|
21958
21958
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
21959
21959
|
PERFORMANCE OF THIS SOFTWARE.
|
|
21960
21960
|
***************************************************************************** */
|
|
21961
|
-
/* global Reflect, Promise */
|
|
21961
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
21962
21962
|
|
|
21963
21963
|
var extendStatics = function(d, b) {
|
|
21964
21964
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -22015,11 +22015,20 @@
|
|
|
22015
22015
|
return ar;
|
|
22016
22016
|
}
|
|
22017
22017
|
|
|
22018
|
-
function __spreadArray(to, from) {
|
|
22019
|
-
for (var i = 0,
|
|
22020
|
-
|
|
22021
|
-
|
|
22022
|
-
|
|
22018
|
+
function __spreadArray(to, from, pack) {
|
|
22019
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
22020
|
+
if (ar || !(i in from)) {
|
|
22021
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
22022
|
+
ar[i] = from[i];
|
|
22023
|
+
}
|
|
22024
|
+
}
|
|
22025
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
22026
|
+
}
|
|
22027
|
+
|
|
22028
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
22029
|
+
var e = new Error(message);
|
|
22030
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
22031
|
+
};
|
|
22023
22032
|
|
|
22024
22033
|
/**
|
|
22025
22034
|
* An auto-incrementing identifier for keys.
|
|
@@ -23974,6 +23983,14 @@
|
|
|
23974
23983
|
return parseCommonElemHtml($elem, editor);
|
|
23975
23984
|
}
|
|
23976
23985
|
else {
|
|
23986
|
+
if ($elem[0].childNodes.length > 1) {
|
|
23987
|
+
var childNodes = $elem[0].childNodes;
|
|
23988
|
+
return Array.from(childNodes).map(function (child) {
|
|
23989
|
+
$__default["default"]($elem[0]).empty();
|
|
23990
|
+
$__default["default"]($elem[0]).append($__default["default"](child));
|
|
23991
|
+
return parseTextElemHtml($__default["default"]($elem[0]), editor);
|
|
23992
|
+
});
|
|
23993
|
+
}
|
|
23977
23994
|
return parseTextElemHtml($elem, editor);
|
|
23978
23995
|
}
|
|
23979
23996
|
}
|
|
@@ -32037,7 +32054,7 @@
|
|
|
32037
32054
|
parseElemHtml: parseParagraphHtml,
|
|
32038
32055
|
};
|
|
32039
32056
|
|
|
32040
|
-
|
|
32057
|
+
/******************************************************************************
|
|
32041
32058
|
Copyright (c) Microsoft Corporation.
|
|
32042
32059
|
|
|
32043
32060
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -32051,7 +32068,7 @@
|
|
|
32051
32068
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
32052
32069
|
PERFORMANCE OF THIS SOFTWARE.
|
|
32053
32070
|
***************************************************************************** */
|
|
32054
|
-
/* global Reflect, Promise */
|
|
32071
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
32055
32072
|
|
|
32056
32073
|
var extendStatics = function(d, b) {
|
|
32057
32074
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -32095,7 +32112,7 @@
|
|
|
32095
32112
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
32096
32113
|
function step(op) {
|
|
32097
32114
|
if (f) throw new TypeError("Generator is already executing.");
|
|
32098
|
-
while (_) try {
|
|
32115
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
32099
32116
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
32100
32117
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
32101
32118
|
switch (op[0]) {
|
|
@@ -32144,7 +32161,12 @@
|
|
|
32144
32161
|
finally { if (e) throw e.error; }
|
|
32145
32162
|
}
|
|
32146
32163
|
return ar;
|
|
32147
|
-
}
|
|
32164
|
+
}
|
|
32165
|
+
|
|
32166
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
32167
|
+
var e = new Error(message);
|
|
32168
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
32169
|
+
};
|
|
32148
32170
|
|
|
32149
32171
|
/**
|
|
32150
32172
|
* @description editor 插件,重写 editor API
|
|
@@ -37781,7 +37803,7 @@
|
|
|
37781
37803
|
renderElem: renderListElem,
|
|
37782
37804
|
};
|
|
37783
37805
|
|
|
37784
|
-
|
|
37806
|
+
/******************************************************************************
|
|
37785
37807
|
Copyright (c) Microsoft Corporation.
|
|
37786
37808
|
|
|
37787
37809
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -37795,7 +37817,7 @@
|
|
|
37795
37817
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
37796
37818
|
PERFORMANCE OF THIS SOFTWARE.
|
|
37797
37819
|
***************************************************************************** */
|
|
37798
|
-
/* global Reflect, Promise */
|
|
37820
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
37799
37821
|
|
|
37800
37822
|
var extendStatics = function(d, b) {
|
|
37801
37823
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -37851,7 +37873,12 @@
|
|
|
37851
37873
|
finally { if (e) throw e.error; }
|
|
37852
37874
|
}
|
|
37853
37875
|
return ar;
|
|
37854
|
-
}
|
|
37876
|
+
}
|
|
37877
|
+
|
|
37878
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
37879
|
+
var e = new Error(message);
|
|
37880
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
37881
|
+
};
|
|
37855
37882
|
|
|
37856
37883
|
/**
|
|
37857
37884
|
* @description table menu helpers
|
|
@@ -40320,7 +40347,7 @@
|
|
|
40320
40347
|
core.i18nAddResources('en', enResources);
|
|
40321
40348
|
core.i18nAddResources('zh-CN', zhResources);
|
|
40322
40349
|
|
|
40323
|
-
|
|
40350
|
+
/******************************************************************************
|
|
40324
40351
|
Copyright (c) Microsoft Corporation.
|
|
40325
40352
|
|
|
40326
40353
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -40362,7 +40389,12 @@
|
|
|
40362
40389
|
finally { if (e) throw e.error; }
|
|
40363
40390
|
}
|
|
40364
40391
|
return ar;
|
|
40365
|
-
}
|
|
40392
|
+
}
|
|
40393
|
+
|
|
40394
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
40395
|
+
var e = new Error(message);
|
|
40396
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
40397
|
+
};
|
|
40366
40398
|
|
|
40367
40399
|
/**
|
|
40368
40400
|
* @description editor 插件,重写 editor API
|
|
@@ -41682,7 +41714,7 @@
|
|
|
41682
41714
|
core.i18nAddResources('en', enResources);
|
|
41683
41715
|
core.i18nAddResources('zh-CN', zhResources);
|
|
41684
41716
|
|
|
41685
|
-
|
|
41717
|
+
/******************************************************************************
|
|
41686
41718
|
Copyright (c) Microsoft Corporation.
|
|
41687
41719
|
|
|
41688
41720
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -41724,7 +41756,7 @@
|
|
|
41724
41756
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
41725
41757
|
function step(op) {
|
|
41726
41758
|
if (f) throw new TypeError("Generator is already executing.");
|
|
41727
|
-
while (_) try {
|
|
41759
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
41728
41760
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
41729
41761
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
41730
41762
|
switch (op[0]) {
|
|
@@ -41781,7 +41813,12 @@
|
|
|
41781
41813
|
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
41782
41814
|
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
41783
41815
|
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
41784
|
-
}
|
|
41816
|
+
}
|
|
41817
|
+
|
|
41818
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
41819
|
+
var e = new Error(message);
|
|
41820
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
41821
|
+
};
|
|
41785
41822
|
|
|
41786
41823
|
/**
|
|
41787
41824
|
* @description editor 插件,重写 editor API
|
|
@@ -42750,7 +42787,7 @@
|
|
|
42750
42787
|
core.i18nAddResources('en', enResources);
|
|
42751
42788
|
core.i18nAddResources('zh-CN', zhResources);
|
|
42752
42789
|
|
|
42753
|
-
|
|
42790
|
+
/******************************************************************************
|
|
42754
42791
|
Copyright (c) Microsoft Corporation.
|
|
42755
42792
|
|
|
42756
42793
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -42792,7 +42829,7 @@
|
|
|
42792
42829
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
42793
42830
|
function step(op) {
|
|
42794
42831
|
if (f) throw new TypeError("Generator is already executing.");
|
|
42795
|
-
while (_) try {
|
|
42832
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
42796
42833
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
42797
42834
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
42798
42835
|
switch (op[0]) {
|
|
@@ -42849,7 +42886,12 @@
|
|
|
42849
42886
|
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
42850
42887
|
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
42851
42888
|
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
42852
|
-
}
|
|
42889
|
+
}
|
|
42890
|
+
|
|
42891
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
42892
|
+
var e = new Error(message);
|
|
42893
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
42894
|
+
};
|
|
42853
42895
|
|
|
42854
42896
|
/**
|
|
42855
42897
|
* @description 上传文件
|
|
@@ -47986,7 +48028,7 @@
|
|
|
47986
48028
|
elemsToHtml: [codeToHtmlConf],
|
|
47987
48029
|
};
|
|
47988
48030
|
|
|
47989
|
-
|
|
48031
|
+
/******************************************************************************
|
|
47990
48032
|
Copyright (c) Microsoft Corporation.
|
|
47991
48033
|
|
|
47992
48034
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -48028,7 +48070,12 @@
|
|
|
48028
48070
|
finally { if (e) throw e.error; }
|
|
48029
48071
|
}
|
|
48030
48072
|
return ar;
|
|
48031
|
-
}
|
|
48073
|
+
}
|
|
48074
|
+
|
|
48075
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
48076
|
+
var e = new Error(message);
|
|
48077
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
48078
|
+
};
|
|
48032
48079
|
|
|
48033
48080
|
/**
|
|
48034
48081
|
* @description code-highlight decorate
|
|
@@ -48098,7 +48145,7 @@
|
|
|
48098
48145
|
}));
|
|
48099
48146
|
});
|
|
48100
48147
|
|
|
48101
|
-
|
|
48148
|
+
/******************************************************************************
|
|
48102
48149
|
Copyright (c) Microsoft Corporation.
|
|
48103
48150
|
|
|
48104
48151
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -48122,6 +48169,11 @@
|
|
|
48122
48169
|
return t;
|
|
48123
48170
|
};
|
|
48124
48171
|
return __assign.apply(this, arguments);
|
|
48172
|
+
};
|
|
48173
|
+
|
|
48174
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
48175
|
+
var e = new Error(message);
|
|
48176
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
48125
48177
|
};
|
|
48126
48178
|
|
|
48127
48179
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wangeditor-next/editor",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.5",
|
|
4
4
|
"description": "Web rich text editor, Web 富文本编辑器",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wangeditor",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@uppy/core": "^2.1.1",
|
|
52
52
|
"@uppy/xhr-upload": "^2.0.3",
|
|
53
|
-
"@wangeditor-next/basic-modules": "^1.2.
|
|
53
|
+
"@wangeditor-next/basic-modules": "^1.2.2",
|
|
54
54
|
"@wangeditor-next/code-highlight": "^1.2.0",
|
|
55
|
-
"@wangeditor-next/core": "^1.2.
|
|
55
|
+
"@wangeditor-next/core": "^1.2.2",
|
|
56
56
|
"@wangeditor-next/list-module": "^1.1.0",
|
|
57
57
|
"@wangeditor-next/table-module": "^1.2.0",
|
|
58
58
|
"@wangeditor-next/upload-image-module": "^1.1.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"slate": "^0.72.0",
|
|
71
71
|
"snabbdom": "^3.1.0"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "838baa152d75791e556f1b83f11c68a56c0646be"
|
|
74
74
|
}
|