@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 24.1.41
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@23.1.53",
3
+ "_id": "@syncfusion/ej2-richtexteditor@24.1.41",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-tB7WAmGNNbrQpGA3CqujRthIZdrsIWUwzNgUwtPIF0jcUlCRthnZbbPbV7SJ4pbfzwZJLoIE6qFsWt36HnVLNg==",
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-release/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-23.1.53.tgz",
29
- "_shasum": "43db30cc27624e6357af8b3ae8d9fd955e04cef8",
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.41",
40
+ "@syncfusion/ej2-base": "~24.1.42",
41
41
  "@syncfusion/ej2-buttons": "~24.1.41",
42
- "@syncfusion/ej2-filemanager": "~24.1.41",
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.41",
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.trigger(events.cleanupResizeElements, { value: value }, function (args) {
131
- value = args.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) {
@@ -1377,4 +1377,5 @@ export interface ToolbarStatusEventArgs {
1377
1377
  export interface CleanupResizeElemArgs {
1378
1378
  name?: string;
1379
1379
  value: string;
1380
+ callBack(value: string): void;
1380
1381
  }
@@ -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
- return value;
2230
+ args.callBack(value);
2231
2231
  };
2232
2232
  RichTextEditor.prototype.removeResizeElement = function (value) {
2233
2233
  var valueElementWrapper = document.createElement("div");