@sapui5/sap.ui.richtexteditor 1.111.2 → 1.112.2
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 +1 -1
- package/src/sap/ui/richtexteditor/.library +3 -3
- package/src/sap/ui/richtexteditor/RTESplitButton.js +1 -1
- package/src/sap/ui/richtexteditor/RichTextEditor.js +8 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/themes/silver/theme.js +2 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/themes/silver/theme.min.js +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce6/themes/silver/theme.js +7 -4
- package/src/sap/ui/richtexteditor/js/tiny_mce6/themes/silver/theme.min.js +1 -1
- package/src/sap/ui/richtexteditor/library.js +1 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
6
|
<copyright>SAPUI5
|
|
7
7
|
* (c) Copyright 2009-2023 SAP SE. All rights reserved.</copyright>
|
|
8
|
-
<version>1.
|
|
8
|
+
<version>1.112.2</version>
|
|
9
9
|
|
|
10
10
|
<documentation>A rich text editor (RTE) control. Requires installation of an additional rich text editor library.</documentation>
|
|
11
11
|
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
<copyright>Tiny Technologies, Inc.</copyright>
|
|
47
47
|
<pattern>sap/ui/richtexteditor/js/tiny_mce4/*</pattern>
|
|
48
48
|
</lib>
|
|
49
|
-
<lib name="TinyMCE-5" displayName="TinyMCE 5.10.2" npmName="tinymce" version="5.10.2-126" npmVersion="5.10.2" hash="
|
|
49
|
+
<lib name="TinyMCE-5" displayName="TinyMCE 5.10.2" npmName="tinymce" version="5.10.2-126" npmVersion="5.10.2" hash="cce2b828c61aeab976d029e981d7b5d1" homepage="https://www.tiny.cloud/" id="73555000100200017025">
|
|
50
50
|
<license url="https://about.tiny.cloud/legal/" type="Commercial"/>
|
|
51
51
|
<copyright>Tiny Technologies, Inc.</copyright>
|
|
52
52
|
<pattern>sap/ui/richtexteditor/js/tiny_mce5/*</pattern>
|
|
53
53
|
</lib>
|
|
54
|
-
<lib name="TinyMCE-6" displayName="TinyMCE 6.1.0" npmName="tinymce" version="6.1.0-6" npmVersion="6.1.0" hash="
|
|
54
|
+
<lib name="TinyMCE-6" displayName="TinyMCE 6.1.0" npmName="tinymce" version="6.1.0-6" npmVersion="6.1.0" hash="3be196deed43ce5d46dbdcf19e36aaaf" homepage="https://www.tiny.cloud/">
|
|
55
55
|
<license url="https://about.tiny.cloud/legal/" type="Commercial"/>
|
|
56
56
|
<copyright>Tiny Technologies, Inc.</copyright>
|
|
57
57
|
<pattern>sap/ui/richtexteditor/js/tiny_mce6/*</pattern>
|
|
@@ -1170,7 +1170,7 @@ sap.ui.define([
|
|
|
1170
1170
|
|
|
1171
1171
|
this.setButtonGroups([{
|
|
1172
1172
|
name: "font-style",
|
|
1173
|
-
visible:
|
|
1173
|
+
visible: this.getShowGroupFontStyle(),
|
|
1174
1174
|
row: 0,
|
|
1175
1175
|
priority: 10,
|
|
1176
1176
|
customToolbarPriority: 20,
|
|
@@ -1179,14 +1179,14 @@ sap.ui.define([
|
|
|
1179
1179
|
]
|
|
1180
1180
|
}, {
|
|
1181
1181
|
name: "font",
|
|
1182
|
-
visible:
|
|
1182
|
+
visible: this.getShowGroupFont(),
|
|
1183
1183
|
row: 0,
|
|
1184
1184
|
priority: 30,
|
|
1185
1185
|
customToolbarPriority: 50,
|
|
1186
1186
|
buttons: fontButtonGroupButtoNamesMapping[this.getEditorType()]
|
|
1187
1187
|
}, {
|
|
1188
1188
|
name: "clipboard",
|
|
1189
|
-
visible:
|
|
1189
|
+
visible: this.getShowGroupClipboard(),
|
|
1190
1190
|
row: 1,
|
|
1191
1191
|
priority: 10,
|
|
1192
1192
|
customToolbarPriority: 110,
|
|
@@ -1195,7 +1195,7 @@ sap.ui.define([
|
|
|
1195
1195
|
]
|
|
1196
1196
|
}, {
|
|
1197
1197
|
name: "structure",
|
|
1198
|
-
visible:
|
|
1198
|
+
visible: this.getShowGroupStructure(),
|
|
1199
1199
|
row: 1,
|
|
1200
1200
|
priority: 20,
|
|
1201
1201
|
customToolbarPriority: 60,
|
|
@@ -1204,7 +1204,7 @@ sap.ui.define([
|
|
|
1204
1204
|
]
|
|
1205
1205
|
}, {
|
|
1206
1206
|
name: "undo",
|
|
1207
|
-
visible:
|
|
1207
|
+
visible: this.getShowGroupUndo(),
|
|
1208
1208
|
row: 1,
|
|
1209
1209
|
priority: 40,
|
|
1210
1210
|
customToolbarPriority: 100,
|
|
@@ -1213,7 +1213,7 @@ sap.ui.define([
|
|
|
1213
1213
|
]
|
|
1214
1214
|
}, {
|
|
1215
1215
|
name: "insert",
|
|
1216
|
-
visible:
|
|
1216
|
+
visible: this.getShowGroupInsert(),
|
|
1217
1217
|
row: 1,
|
|
1218
1218
|
priority: 50,
|
|
1219
1219
|
customToolbarPriority: 80,
|
|
@@ -1222,7 +1222,7 @@ sap.ui.define([
|
|
|
1222
1222
|
]
|
|
1223
1223
|
}, {
|
|
1224
1224
|
name: "link",
|
|
1225
|
-
visible:
|
|
1225
|
+
visible: this.getShowGroupLink(),
|
|
1226
1226
|
row: 1,
|
|
1227
1227
|
priority: 60,
|
|
1228
1228
|
customToolbarPriority: 70,
|
|
@@ -1232,7 +1232,7 @@ sap.ui.define([
|
|
|
1232
1232
|
}, {
|
|
1233
1233
|
// Text Align group
|
|
1234
1234
|
name: "text-align",
|
|
1235
|
-
visible:
|
|
1235
|
+
visible: this.getShowGroupTextAlign(),
|
|
1236
1236
|
row: 0,
|
|
1237
1237
|
priority: 20,
|
|
1238
1238
|
customToolbarPriority: 30,
|
|
@@ -31352,6 +31352,7 @@
|
|
|
31352
31352
|
});
|
|
31353
31353
|
};
|
|
31354
31354
|
var pBodyMessage = function (message, providersBackstage) {
|
|
31355
|
+
var fnSanitizeHTML = window.sap?.ui?.require("sap/base/security/sanitizeHTML") || function(v){return v;};
|
|
31355
31356
|
return ModalDialog.parts.body({
|
|
31356
31357
|
dom: {
|
|
31357
31358
|
tag: 'div',
|
|
@@ -31362,7 +31363,7 @@
|
|
|
31362
31363
|
tag: 'div',
|
|
31363
31364
|
classes: ['tox-dialog__body-content']
|
|
31364
31365
|
},
|
|
31365
|
-
components: [{ dom: fromHtml('<p>' + providersBackstage.translate(message) + '</p>') }]
|
|
31366
|
+
components: [{ dom: fromHtml('<p>' + fnSanitizeHTML(providersBackstage.translate(message)) + '</p>') }]
|
|
31366
31367
|
}]
|
|
31367
31368
|
});
|
|
31368
31369
|
};
|