@progress/kendo-react-editor 5.4.0-dev.202206140937 → 5.4.0

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/es/Editor.js CHANGED
@@ -263,6 +263,16 @@ var Editor = /** @class */ (function (_super) {
263
263
  this.view.destroy();
264
264
  }
265
265
  this._view = undefined;
266
+ var iframeWindow = this.iframe && this.iframe.contentWindow;
267
+ if (iframeWindow) {
268
+ if (this._contentElement && this._contentElement.parentNode) {
269
+ this._contentElement.parentNode.removeChild(this._contentElement);
270
+ }
271
+ var head = iframeWindow.document.head;
272
+ while (head && head.firstChild) {
273
+ head.removeChild(head.firstChild);
274
+ }
275
+ }
266
276
  };
267
277
  /**
268
278
  * @hidden
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-react-editor',
6
6
  productName: 'KendoReact',
7
7
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1655198507,
8
+ publishDate: 1655713240,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
11
11
  };
@@ -266,6 +266,16 @@ var Editor = /** @class */ (function (_super) {
266
266
  this.view.destroy();
267
267
  }
268
268
  this._view = undefined;
269
+ var iframeWindow = this.iframe && this.iframe.contentWindow;
270
+ if (iframeWindow) {
271
+ if (this._contentElement && this._contentElement.parentNode) {
272
+ this._contentElement.parentNode.removeChild(this._contentElement);
273
+ }
274
+ var head = iframeWindow.document.head;
275
+ while (head && head.firstChild) {
276
+ head.removeChild(head.firstChild);
277
+ }
278
+ }
269
279
  };
270
280
  /**
271
281
  * @hidden
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-react-editor',
9
9
  productName: 'KendoReact',
10
10
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
11
- publishDate: 1655198507,
11
+ publishDate: 1655713240,
12
12
  version: '',
13
13
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
14
14
  };