@syncfusion/ej2-richtexteditor 24.1.41 → 24.1.43
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/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 +6 -3
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +6 -3
- 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 +7 -7
- package/src/rich-text-editor/actions/paste-clean-up.js +5 -2
- package/src/rich-text-editor/base/interface.d.ts +1 -0
- package/src/rich-text-editor/base/rich-text-editor.js +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 24.1.
|
|
3
|
+
* version : 24.1.43
|
|
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@
|
|
3
|
+
"_id": "@syncfusion/ej2-richtexteditor@24.1.41",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-h4DVBcoJwsAW5vm0Y6Ffg3KcNNeCxkj2MwOW+z+Aa8puZZETLQitQl8yt76IFRoxTY/MCdkoTWVILD5mstwkFg==",
|
|
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.syncfusion.com/repository/ej2-
|
|
29
|
-
"_shasum": "
|
|
28
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-24.1.41.tgz",
|
|
29
|
+
"_shasum": "b0643450fa79cf814e9386718d1e011876c3946a",
|
|
30
30
|
"_spec": "@syncfusion/ej2-richtexteditor@*",
|
|
31
31
|
"_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
|
|
32
32
|
"author": {
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
},
|
|
38
38
|
"bundleDependencies": false,
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@syncfusion/ej2-base": "~24.1.
|
|
40
|
+
"@syncfusion/ej2-base": "~24.1.42",
|
|
41
41
|
"@syncfusion/ej2-buttons": "~24.1.41",
|
|
42
|
-
"@syncfusion/ej2-filemanager": "~24.1.
|
|
42
|
+
"@syncfusion/ej2-filemanager": "~24.1.43",
|
|
43
43
|
"@syncfusion/ej2-inputs": "~24.1.41",
|
|
44
44
|
"@syncfusion/ej2-navigations": "~24.1.41",
|
|
45
45
|
"@syncfusion/ej2-popups": "~24.1.41",
|
|
@@ -69,6 +69,6 @@
|
|
|
69
69
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
70
70
|
},
|
|
71
71
|
"typings": "index.d.ts",
|
|
72
|
-
"version": "24.1.
|
|
72
|
+
"version": "24.1.43",
|
|
73
73
|
"sideEffects": false
|
|
74
74
|
}
|
|
@@ -127,8 +127,11 @@ var PasteCleanup = /** @class */ (function () {
|
|
|
127
127
|
tempDivElem.innerHTML = value;
|
|
128
128
|
var isValueNotEmpty = tempDivElem.textContent !== '' || !isNOU(tempDivElem.querySelector('img')) ||
|
|
129
129
|
!isNOU(tempDivElem.querySelector('table'));
|
|
130
|
-
this.parent.
|
|
131
|
-
value
|
|
130
|
+
this.parent.notify(events.cleanupResizeElements, {
|
|
131
|
+
value: value,
|
|
132
|
+
callBack: function (currentValue) {
|
|
133
|
+
value = currentValue;
|
|
134
|
+
}
|
|
132
135
|
});
|
|
133
136
|
if (this.parent.pasteCleanupSettings.prompt) {
|
|
134
137
|
if (isValueNotEmpty) {
|
|
@@ -2227,7 +2227,7 @@ var RichTextEditor = /** @class */ (function (_super) {
|
|
|
2227
2227
|
};
|
|
2228
2228
|
RichTextEditor.prototype.cleanupResizeElements = function (args) {
|
|
2229
2229
|
var value = this.removeResizeElement(args.value);
|
|
2230
|
-
|
|
2230
|
+
args.callBack(value);
|
|
2231
2231
|
};
|
|
2232
2232
|
RichTextEditor.prototype.removeResizeElement = function (value) {
|
|
2233
2233
|
var valueElementWrapper = document.createElement("div");
|