@sapui5/sap.ui.richtexteditor 1.84.26 → 1.84.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.ui.richtexteditor",
3
- "version": "1.84.26",
3
+ "version": "1.84.28",
4
4
  "description": "SAPUI5 Library sap.ui.richtexteditor",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -6,7 +6,7 @@
6
6
  <copyright>SAPUI5
7
7
 
8
8
  (c) Copyright 2009-2020 SAP SE. All rights reserved</copyright>
9
- <version>1.84.26</version>
9
+ <version>1.84.28</version>
10
10
 
11
11
  <documentation>A rich text editor (RTE) control. Requires installation of an additional rich text editor library.</documentation>
12
12
 
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @alias sap.ui.richtexteditor.RTESplitButton
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.84.26
27
+ * @version 1.84.28
28
28
  */
29
29
  var RTESplitButton = SplitButton.extend("sap.ui.richtexteditor.RTESplitButton", {
30
30
  metadata: {
@@ -1787,7 +1787,14 @@ sap.ui.define([
1787
1787
  init_instance_callback: function(oEditor) {
1788
1788
  this._oEditor = oEditor;
1789
1789
  fnOnInit();
1790
- }.bind(this)
1790
+ }.bind(this),
1791
+ setup: function(editor) {
1792
+ editor.on('Init', function() {
1793
+ if (this.editorManager.majorVersion === "4") {
1794
+ editor.schema.getSpecialElements()['iframe'] = new RegExp('</iframe[^>]*>', 'gi');
1795
+ }
1796
+ });
1797
+ }
1791
1798
  };
1792
1799
  /*eslint-enable camelcase */
1793
1800
 
@@ -37,7 +37,7 @@ sap.ui.define(["sap/ui/thirdparty/jquery", 'sap/ui/core/Core', 'sap/ui/core/libr
37
37
  "sap.ui.richtexteditor.RTESplitButton"
38
38
  ],
39
39
  elements: [],
40
- version: "1.84.26"
40
+ version: "1.84.28"
41
41
  });
42
42
 
43
43
  /**