@sapui5/sap.ui.richtexteditor 1.96.8 → 1.96.11
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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
6
|
<copyright>SAPUI5
|
|
7
7
|
* (c) Copyright 2009-2021 SAP SE. All rights reserved.</copyright>
|
|
8
|
-
<version>1.96.
|
|
8
|
+
<version>1.96.11</version>
|
|
9
9
|
|
|
10
10
|
<documentation>A rich text editor (RTE) control. Requires installation of an additional rich text editor library.</documentation>
|
|
11
11
|
|
|
@@ -1803,7 +1803,14 @@ sap.ui.define([
|
|
|
1803
1803
|
init_instance_callback: function(oEditor) {
|
|
1804
1804
|
this._oEditor = oEditor;
|
|
1805
1805
|
fnOnInit();
|
|
1806
|
-
}.bind(this)
|
|
1806
|
+
}.bind(this),
|
|
1807
|
+
setup: function(editor) {
|
|
1808
|
+
editor.on('Init', function() {
|
|
1809
|
+
if (this.editorManager.majorVersion === "4") {
|
|
1810
|
+
editor.schema.getSpecialElements()['iframe'] = new RegExp('</iframe[^>]*>', 'gi');
|
|
1811
|
+
}
|
|
1812
|
+
});
|
|
1813
|
+
}
|
|
1807
1814
|
};
|
|
1808
1815
|
/*eslint-enable camelcase */
|
|
1809
1816
|
|