@syncfusion/ej2-richtexteditor 26.2.9 → 26.2.10
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/ej2-richtexteditor.min.js +2 -2
- package/dist/ej2-richtexteditor.umd.min.js +2 -2
- package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es2015.js +25 -26
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +25 -26
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/dist/global/ej2-richtexteditor.min.js +2 -2
- package/dist/global/ej2-richtexteditor.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +12 -12
- package/src/editor-manager/plugin/lists.d.ts +1 -1
- package/src/rich-text-editor/actions/paste-clean-up.js +25 -26
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 26.2.
|
|
3
|
+
* version : 26.2.10
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-richtexteditor@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-richtexteditor@26.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-richtexteditor@26.2.9",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-TBFErb4xVYb56iRwb9LAkXG59TaAE+szuZyiiTQYsOI6dEXZaFGIHiFRrJ5hOcFUvwdjN1ZXaAZRhhU138ZfJg==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-richtexteditor",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"/@syncfusion/ej2-react-richtexteditor",
|
|
26
26
|
"/@syncfusion/ej2-vue-richtexteditor"
|
|
27
27
|
],
|
|
28
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-26.2.
|
|
29
|
-
"_shasum": "
|
|
28
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-26.2.9.tgz",
|
|
29
|
+
"_shasum": "3557189844c4d22852f4064f87ef24701612fd04",
|
|
30
30
|
"_spec": "@syncfusion/ej2-richtexteditor@*",
|
|
31
31
|
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
|
32
32
|
"author": {
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
},
|
|
38
38
|
"bundleDependencies": false,
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@syncfusion/ej2-base": "~26.2.
|
|
41
|
-
"@syncfusion/ej2-buttons": "~26.2.
|
|
42
|
-
"@syncfusion/ej2-filemanager": "~26.2.
|
|
43
|
-
"@syncfusion/ej2-inputs": "~26.2.
|
|
44
|
-
"@syncfusion/ej2-navigations": "~26.2.
|
|
45
|
-
"@syncfusion/ej2-popups": "~26.2.
|
|
46
|
-
"@syncfusion/ej2-splitbuttons": "~26.2.
|
|
40
|
+
"@syncfusion/ej2-base": "~26.2.10",
|
|
41
|
+
"@syncfusion/ej2-buttons": "~26.2.10",
|
|
42
|
+
"@syncfusion/ej2-filemanager": "~26.2.10",
|
|
43
|
+
"@syncfusion/ej2-inputs": "~26.2.10",
|
|
44
|
+
"@syncfusion/ej2-navigations": "~26.2.10",
|
|
45
|
+
"@syncfusion/ej2-popups": "~26.2.10",
|
|
46
|
+
"@syncfusion/ej2-splitbuttons": "~26.2.10"
|
|
47
47
|
},
|
|
48
48
|
"deprecated": false,
|
|
49
49
|
"description": "Essential JS 2 RichTextEditor component",
|
|
@@ -79,6 +79,6 @@
|
|
|
79
79
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
80
80
|
},
|
|
81
81
|
"typings": "index.d.ts",
|
|
82
|
-
"version": "26.2.
|
|
82
|
+
"version": "26.2.10",
|
|
83
83
|
"sideEffects": false
|
|
84
84
|
}
|
|
@@ -333,9 +333,7 @@ var PasteCleanup = /** @class */ (function () {
|
|
|
333
333
|
dropArea: this.parent.inputElement,
|
|
334
334
|
allowedExtensions: this.parent.insertImageSettings.allowedTypes.toString(),
|
|
335
335
|
success: function (e) {
|
|
336
|
-
_this.
|
|
337
|
-
_this.popupClose(_this.popupObj, _this.uploadObj, imgElem, e);
|
|
338
|
-
}, 900);
|
|
336
|
+
_this.popupClose(_this.popupObj, _this.uploadObj, imgElem, e);
|
|
339
337
|
},
|
|
340
338
|
uploading: function (e) {
|
|
341
339
|
if (!_this.parent.isServerRendered) {
|
|
@@ -417,30 +415,31 @@ var PasteCleanup = /** @class */ (function () {
|
|
|
417
415
|
this.parent.inputElement.contentEditable = 'true';
|
|
418
416
|
e.element = imgElem;
|
|
419
417
|
e.detectImageSource = ImageInputSource.Pasted;
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
}
|
|
437
|
-
});
|
|
438
|
-
popupObj.close();
|
|
439
|
-
imgElem.style.opacity = '1';
|
|
440
|
-
if (uploadObj && document.body.contains(uploadObj.element)) {
|
|
441
|
-
uploadObj.destroy();
|
|
418
|
+
var element = e.file;
|
|
419
|
+
if (element.statusCode === '2') {
|
|
420
|
+
this.parent.trigger(events.imageUploadSuccess, e, function (e) {
|
|
421
|
+
if (!isNullOrUndefined(_this.parent.insertImageSettings.path)) {
|
|
422
|
+
var url = _this.parent.insertImageSettings.path + e.file.name;
|
|
423
|
+
imgElem.src = url;
|
|
424
|
+
imgElem.setAttribute('alt', e.file.name);
|
|
425
|
+
}
|
|
426
|
+
});
|
|
427
|
+
}
|
|
428
|
+
else if (element.statusCode === '5') {
|
|
429
|
+
this.parent.trigger(events.imageRemoving, e, function (e) {
|
|
430
|
+
if (!isNullOrUndefined(e.element.src)) {
|
|
431
|
+
e.element.src = '';
|
|
432
|
+
}
|
|
433
|
+
});
|
|
442
434
|
}
|
|
443
|
-
this.
|
|
435
|
+
this.popupCloseTime = setTimeout(function () {
|
|
436
|
+
popupObj.close();
|
|
437
|
+
imgElem.style.opacity = '1';
|
|
438
|
+
this.toolbarEnableDisable(false);
|
|
439
|
+
if (uploadObj && document.body.contains(uploadObj.element)) {
|
|
440
|
+
uploadObj.destroy();
|
|
441
|
+
}
|
|
442
|
+
}.bind(this), 1500);
|
|
444
443
|
};
|
|
445
444
|
PasteCleanup.prototype.refreshPopup = function (imageElement, popupObj) {
|
|
446
445
|
var imgPosition = this.parent.iframeSettings.enable ? this.parent.element.offsetTop +
|