@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.
@@ -21361,8 +21361,11 @@ var PasteCleanup = /** @__PURE__ @class */ (function () {
21361
21361
  tempDivElem.innerHTML = value;
21362
21362
  var isValueNotEmpty = tempDivElem.textContent !== '' || !isNullOrUndefined(tempDivElem.querySelector('img')) ||
21363
21363
  !isNullOrUndefined(tempDivElem.querySelector('table'));
21364
- this.parent.trigger(cleanupResizeElements, { value: value }, function (args) {
21365
- value = args.value;
21364
+ this.parent.notify(cleanupResizeElements, {
21365
+ value: value,
21366
+ callBack: function (currentValue) {
21367
+ value = currentValue;
21368
+ }
21366
21369
  });
21367
21370
  if (this.parent.pasteCleanupSettings.prompt) {
21368
21371
  if (isValueNotEmpty) {
@@ -34532,7 +34535,7 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
34532
34535
  };
34533
34536
  RichTextEditor.prototype.cleanupResizeElements = function (args) {
34534
34537
  var value = this.removeResizeElement(args.value);
34535
- return value;
34538
+ args.callBack(value);
34536
34539
  };
34537
34540
  RichTextEditor.prototype.removeResizeElement = function (value) {
34538
34541
  var valueElementWrapper = document.createElement("div");