@sapui5/sap.ui.richtexteditor 1.108.47 → 1.108.49
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 +1 -1
- package/src/sap/ui/richtexteditor/RTESplitButton.js +1 -1
- package/src/sap/ui/richtexteditor/RichTextEditor.js +8 -3
- package/src/sap/ui/richtexteditor/library.js +4 -1
- package/src/sap/ui/richtexteditor/messagebundle_pt.properties +1 -1
- package/src/sap/ui/richtexteditor/messagebundle_sl.properties +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-2022 SAP SE. All rights reserved.</copyright>
|
|
8
|
-
<version>1.108.
|
|
8
|
+
<version>1.108.49</version>
|
|
9
9
|
|
|
10
10
|
<documentation>A rich text editor (RTE) control. Requires installation of an additional rich text editor library.</documentation>
|
|
11
11
|
|
|
@@ -82,6 +82,7 @@ sap.ui.define([
|
|
|
82
82
|
*
|
|
83
83
|
* <b>Note: The <code>RichTextEditor</code> uses a third-party component and therefore
|
|
84
84
|
* some additional restrictions apply for its proper usage and support.
|
|
85
|
+
* Use the native third-party API cautiously. Ensure you migrate to newer versions within 12 months of deprecation. Unsupported third-party versions, once deprecated by us, may be removed without notice if critical vulnerabilities or other serious issues are discovered in their code.
|
|
85
86
|
* For more information see the Preamble section in {@link topic:d4f3f1598373452bb73f2120930c133c sap.ui.richtexteditor}.
|
|
86
87
|
* </b>
|
|
87
88
|
*
|
|
@@ -197,7 +198,8 @@ sap.ui.define([
|
|
|
197
198
|
* not an enumeration).
|
|
198
199
|
*
|
|
199
200
|
* <b>Notes:</b>
|
|
200
|
-
* <ul><li>
|
|
201
|
+
* <ul><li>Do not use TinyMCE versions that are no longer supported. We may remove such versions without notice in future releases if critical vulnerabilities or other serious issues are discovered in their code.</li>
|
|
202
|
+
* <li>Setting the property to <code>TinyMCE</code> loads the latest TinyMCE available.</li>
|
|
201
203
|
* <li>Any attempts to set this property after the first rendering will not
|
|
202
204
|
* have any effect.</li>
|
|
203
205
|
* <li>The default value of the property will always resolve to the recommended version by UI5. Due to the different support cycles, we will be constantly getting newer TinyMCE versions and update the default value accordingly.</li>
|
|
@@ -392,6 +394,7 @@ sap.ui.define([
|
|
|
392
394
|
|
|
393
395
|
// Editor type entries for backwards compatibility
|
|
394
396
|
RichTextEditor.EDITORTYPE_TINYMCE4 = library.EditorType.TinyMCE4;
|
|
397
|
+
|
|
395
398
|
RichTextEditor.EDITORTYPE_TINYMCE6 = library.EditorType.TinyMCE6;
|
|
396
399
|
|
|
397
400
|
RichTextEditor.EDITORTYPE_TINYMCE7 = library.EditorType.TinyMCE7;
|
|
@@ -710,6 +713,8 @@ sap.ui.define([
|
|
|
710
713
|
* Returns the current editor's instance.
|
|
711
714
|
* CAUTION: using the native editor introduces a dependency to that editor and breaks the wrapping character of the RichTextEditor control, so it should only be done in justified cases.
|
|
712
715
|
*
|
|
716
|
+
* <b>Note: Use the native third-party API cautiously. Ensure you migrate to newer versions within 12 months of deprecation. Unsupported third-party versions, once deprecated by us, may be removed without notice if critical vulnerabilities or other serious issues are discovered in their code.</b>
|
|
717
|
+
*
|
|
713
718
|
* @returns {object} The native editor object (here: The TinyMCE editor instance)
|
|
714
719
|
* @public
|
|
715
720
|
*/
|
|
@@ -1259,7 +1264,7 @@ sap.ui.define([
|
|
|
1259
1264
|
* Switches the editor type and sets the default settings for the editor.
|
|
1260
1265
|
* All plugins and button groups should be set after this has been invoked
|
|
1261
1266
|
*
|
|
1262
|
-
* @param {string} [sEditorType] Which editor type to be used (currently only TinyMCE 4,
|
|
1267
|
+
* @param {string} [sEditorType] Which editor type to be used (currently only TinyMCE 4, 6 and 7)
|
|
1263
1268
|
* @returns {object} Control instance (for method chaining)
|
|
1264
1269
|
* @public
|
|
1265
1270
|
*/
|
|
@@ -1279,7 +1284,7 @@ sap.ui.define([
|
|
|
1279
1284
|
}
|
|
1280
1285
|
|
|
1281
1286
|
if (oEditorMapping[sEditorType] === "TinyMCE6") {
|
|
1282
|
-
Log.
|
|
1287
|
+
Log.error("TinyMCE version 6 is used as editor type. TinyMCE 6 is deprecated as of version 1.108.50 and will be removed from the code entirely in near future.");
|
|
1283
1288
|
}
|
|
1284
1289
|
|
|
1285
1290
|
this._setupToolbar();
|
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
"sap.ui.richtexteditor.RTESplitButton"
|
|
35
35
|
],
|
|
36
36
|
elements: [],
|
|
37
|
-
version: "1.108.
|
|
37
|
+
version: "1.108.49"
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
/**
|
|
@@ -49,6 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* Determines which editor component should be used for editing the text.
|
|
52
|
+
* <b>Note: To ensure stability and to access the latest features, use the most current TinyMCE version supported by your SAPUI5 version by setting the property to <code>TinyMCE</code>. </br> Unsupported TinyMCE versions with critical vulnerabilities or other serious issues may be removed without notice.</b>
|
|
52
53
|
*
|
|
53
54
|
* @enum {string}
|
|
54
55
|
* @public
|
|
@@ -72,6 +73,8 @@ sap.ui.define([
|
|
|
72
73
|
/**
|
|
73
74
|
* Uses TinyMCE version 6 as editor
|
|
74
75
|
* @public
|
|
76
|
+
* TinyMCE 6 is no longer supported, therefore using it is at your own risk.
|
|
77
|
+
* @deprecated As of version 1.108.50 Use the {@link sap.ui.richtexteditor.EditorType.TinyMCE} instead.
|
|
75
78
|
*/
|
|
76
79
|
TinyMCE6: "TinyMCE6",
|
|
77
80
|
|
|
@@ -69,7 +69,7 @@ UNDO_BUTTON_TOOLTIP=Desfazer
|
|
|
69
69
|
REDO_BUTTON_TOOLTIP=Repetir
|
|
70
70
|
|
|
71
71
|
#XTOL: Tooltip for link button
|
|
72
|
-
LINK_BUTTON_TOOLTIP=Inserir/
|
|
72
|
+
LINK_BUTTON_TOOLTIP=Inserir/editar link
|
|
73
73
|
|
|
74
74
|
#XTOL: Tooltip for unlink button
|
|
75
75
|
UNLINK_BUTTON_TOOLTIP=Remover link
|
|
@@ -21,7 +21,7 @@ UNDERLINE_BUTTON_TOOLTIP=Pod\u010Drtano
|
|
|
21
21
|
STRIKETHROUGH_BUTTON_TOOLTIP=Pre\u010Drtano
|
|
22
22
|
|
|
23
23
|
#XTOL: Tooltip for text align menu button
|
|
24
|
-
TEXTALIGN_BUTTON_TOOLTIP=Poravnava
|
|
24
|
+
TEXTALIGN_BUTTON_TOOLTIP=Poravnava besedila
|
|
25
25
|
|
|
26
26
|
#XTOL: Tooltip for text formatBlock menu button
|
|
27
27
|
FORMAT_BUTTON_TOOLTIP=Oblika
|