@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
|
@@ -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.
|
|
21365
|
-
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
|
-
|
|
34538
|
+
args.callBack(value);
|
|
34536
34539
|
};
|
|
34537
34540
|
RichTextEditor.prototype.removeResizeElement = function (value) {
|
|
34538
34541
|
var valueElementWrapper = document.createElement("div");
|