@sapui5/sap.ui.richtexteditor 1.144.0 → 1.145.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.
Files changed (35) hide show
  1. package/package.json +1 -1
  2. package/src/sap/ui/richtexteditor/.library +2 -2
  3. package/src/sap/ui/richtexteditor/RTESplitButton.js +2 -2
  4. package/src/sap/ui/richtexteditor/RTESplitButtonRenderer.js +1 -1
  5. package/src/sap/ui/richtexteditor/RichTextEditor.js +18 -3
  6. package/src/sap/ui/richtexteditor/RichTextEditorFontFamily.js +2 -2
  7. package/src/sap/ui/richtexteditor/RichTextEditorRenderer.js +10 -4
  8. package/src/sap/ui/richtexteditor/ToolbarWrapper.js +1 -1
  9. package/src/sap/ui/richtexteditor/ToolbarWrapperRenderer.js +1 -1
  10. package/src/sap/ui/richtexteditor/library.js +5 -4
  11. package/src/sap/ui/richtexteditor/themes/base/RichTextEditor.less +18 -19
  12. package/src/sap/ui/richtexteditor/themes/base/library.source.less +1 -1
  13. package/src/sap/ui/richtexteditor/themes/sap_belize/library.source.less +1 -1
  14. package/src/sap/ui/richtexteditor/themes/sap_belize_base/library.source.less +1 -1
  15. package/src/sap/ui/richtexteditor/themes/sap_belize_hcb/library.source.less +1 -1
  16. package/src/sap/ui/richtexteditor/themes/sap_belize_hcw/library.source.less +1 -1
  17. package/src/sap/ui/richtexteditor/themes/sap_belize_plus/library.source.less +1 -1
  18. package/src/sap/ui/richtexteditor/themes/sap_bluecrystal/library.source.less +1 -1
  19. package/src/sap/ui/richtexteditor/themes/sap_bluecrystal_base/library.source.less +1 -1
  20. package/src/sap/ui/richtexteditor/themes/sap_fiori_3/RichTextEditor.less +6 -6
  21. package/src/sap/ui/richtexteditor/themes/sap_fiori_3/library.source.less +1 -1
  22. package/src/sap/ui/richtexteditor/themes/sap_fiori_3_dark/RichTextEditor.less +6 -6
  23. package/src/sap/ui/richtexteditor/themes/sap_fiori_3_dark/library.source.less +1 -1
  24. package/src/sap/ui/richtexteditor/themes/sap_fiori_3_hcb/RichTextEditor.less +6 -6
  25. package/src/sap/ui/richtexteditor/themes/sap_fiori_3_hcb/library.source.less +1 -1
  26. package/src/sap/ui/richtexteditor/themes/sap_fiori_3_hcw/RichTextEditor.less +6 -6
  27. package/src/sap/ui/richtexteditor/themes/sap_fiori_3_hcw/library.source.less +1 -1
  28. package/src/sap/ui/richtexteditor/themes/sap_horizon/RichTextEditor.less +9 -9
  29. package/src/sap/ui/richtexteditor/themes/sap_horizon/library.source.less +1 -1
  30. package/src/sap/ui/richtexteditor/themes/sap_horizon_dark/RichTextEditor.less +6 -6
  31. package/src/sap/ui/richtexteditor/themes/sap_horizon_dark/library.source.less +1 -1
  32. package/src/sap/ui/richtexteditor/themes/sap_horizon_hcb/RichTextEditor.less +3 -3
  33. package/src/sap/ui/richtexteditor/themes/sap_horizon_hcb/library.source.less +1 -1
  34. package/src/sap/ui/richtexteditor/themes/sap_horizon_hcw/RichTextEditor.less +3 -3
  35. package/src/sap/ui/richtexteditor/themes/sap_horizon_hcw/library.source.less +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.ui.richtexteditor",
3
- "version": "1.144.0",
3
+ "version": "1.145.0",
4
4
  "description": "SAPUI5 Library sap.ui.richtexteditor",
5
5
  "homepage": "https://ui5.github.io/cli/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -4,8 +4,8 @@
4
4
  <name>sap.ui.richtexteditor</name>
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>SAPUI5
7
- * (c) Copyright 2025 SAP SE. All rights reserved.</copyright>
8
- <version>1.144.0</version>
7
+ * (c) Copyright 2026 SAP SE. All rights reserved.</copyright>
8
+ <version>1.145.0</version>
9
9
 
10
10
  <documentation>A rich text editor (RTE) control. Requires installation of an additional rich text editor library.</documentation>
11
11
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
  // Provides control sap.ui.richtexteditor.RTESplitButton.
6
6
  sap.ui.define([
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @alias sap.ui.richtexteditor.RTESplitButton
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.144.0
27
+ * @version 1.145.0
28
28
  */
29
29
  var RTESplitButton = SplitButton.extend("sap.ui.richtexteditor.RTESplitButton", {
30
30
  metadata: {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
  // Provides default renderer for control sap.ui.richtexteditor.RTESplitButton
6
6
  sap.ui.define(['sap/m/SplitButtonRenderer', 'sap/ui/core/Renderer'],
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  // Provides control sap.ui.richtexteditor.RichTextEditor.
@@ -88,6 +88,7 @@ sap.ui.define([
88
88
  *
89
89
  * <b>Note: The <code>RichTextEditor</code> uses a third-party component and therefore
90
90
  * some additional restrictions apply for its proper usage and support.
91
+ * 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.
91
92
  * For more information see the Preamble section in {@link topic:d4f3f1598373452bb73f2120930c133c sap.ui.richtexteditor}.
92
93
  * </b>
93
94
  *
@@ -203,7 +204,8 @@ sap.ui.define([
203
204
  * not an enumeration).
204
205
  *
205
206
  * <b>Notes:</b>
206
- * <ul><li>TinyMCE version 3 and 4 are no longer supported and cannot be used. If you set the property to TinyMCE, it will load TinyMCE version 7.</li>
207
+ * <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>
208
+ * <li>Setting the property to <code>TinyMCE</code> loads the latest TinyMCE available.</li>
207
209
  * <li>Any attempts to set this property after the first rendering will not
208
210
  * have any effect.</li>
209
211
  * <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>
@@ -726,6 +728,8 @@ sap.ui.define([
726
728
  * Returns the current editor's instance.
727
729
  * 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.
728
730
  *
731
+ * <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>
732
+ *
729
733
  * @returns {object} The native editor object (here: The TinyMCE editor instance)
730
734
  * @public
731
735
  */
@@ -1632,10 +1636,21 @@ sap.ui.define([
1632
1636
  switch (this._tinyMCEStatus) {
1633
1637
  case EditorStatus.Initial:
1634
1638
  case EditorStatus.Initializing:
1639
+ if (this._pTinyMCEInitialized) {
1640
+ this._pTinyMCEInitialized.then(function() {
1641
+ if (this._tinyMCEStatus === EditorStatus.Ready) {
1642
+ this.setValueTinyMCE(sValue);
1643
+ }
1644
+ }.bind(this));
1645
+ }
1646
+ break;
1647
+
1635
1648
  case EditorStatus.Loading:
1636
1649
  // Ignored - value will be set when TinyMCE is ready
1637
1650
  break;
1638
-
1651
+ case EditorStatus.Loaded:
1652
+ // Ignored - value will be set when TinyMCE is ready
1653
+ break;
1639
1654
  case EditorStatus.Ready:
1640
1655
  this._oEditor.setContent(sValue);
1641
1656
  //Reset the undo manager
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  // Provides control sap.ui.richtexteditor.RichTextEditorFontFamily.
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.144.0
25
+ * @version 1.145.0
26
26
  *
27
27
  * @public
28
28
  * @alias sap.ui.richtexteditor.RichTextEditorFontFamily
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
  // Provides default renderer for control sap.ui.richtexteditor.RichTextEditor
6
6
  sap.ui.define(["sap/ui/core/Lib"],
@@ -36,9 +36,15 @@ sap.ui.define(["sap/ui/core/Lib"],
36
36
  if (oRichTextEditor.getRequired()) {
37
37
  rm.class("sapUiRTEReq");
38
38
  }
39
- if (oRichTextEditor.getUseLegacyTheme()) {
40
- rm.class("sapUiRTELegacyTheme");
41
- }
39
+ /**
40
+ * @deprecated As of version 1.97.0
41
+ * @private
42
+ */
43
+ (() => {
44
+ if (oRichTextEditor.getUseLegacyTheme()) {
45
+ rm.class("sapUiRTELegacyTheme");
46
+ }
47
+ })();
42
48
  if (bCustomToolbar) {
43
49
  rm.class("sapUiRTEWithCustomToolbar");
44
50
  }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  // Provides control sap.ui.richtexteditor.ToolbarWrapper.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
  // Provides default renderer for control sap.ui.richtexteditor.ToolbarWrapper
6
6
  sap.ui.define([],
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  /**
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  "sap.ui.richtexteditor.RTESplitButton"
38
38
  ],
39
39
  elements: [],
40
- version: "1.144.0"
40
+ version: "1.145.0"
41
41
  });
42
42
 
43
43
  /**
@@ -52,6 +52,7 @@ sap.ui.define([
52
52
 
53
53
  /**
54
54
  * Determines which editor component should be used for editing the text.
55
+ * <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>
55
56
  *
56
57
  * @enum {string}
57
58
  * @public
@@ -67,8 +68,8 @@ sap.ui.define([
67
68
 
68
69
  /**
69
70
  * Uses TinyMCE version 6 as editor
70
- * TinyMCE 6 is no longer supported, therefore using it is on your own risk.
71
- * @deprecated As of version 1.141
71
+ * @deprecated As of version 1.141, TinyMCE 6 is no longer supported. Use the {@link sap.ui.richtexteditor.EditorType.TinyMCE} instead.
72
+ * @public
72
73
  */
73
74
  TinyMCE6: "TinyMCE6",
74
75
 
@@ -1,14 +1,18 @@
1
+ /* ===================================================== */
2
+ /* CSS for control sap.ui.richtexteditor/RichTextEditor */
3
+ /* Base theme */
4
+ /* ===================================================== */
5
+
1
6
  .sapUiRTE {
2
7
  display: inline-block;
3
8
  min-height: 200px;
4
-
5
9
  }
6
10
 
7
11
  .sapUiRTE {
8
12
  --_sap_ui_richtexteditor__wrapper-border: 4px;
9
13
  }
10
14
 
11
- /* ====== Custom Toolbar ====== */
15
+ /* Custom Toolbar */
12
16
 
13
17
  .sapUiRTE.sapUiRTEWithCustomToolbar {
14
18
  --_sap_ui_richtexteditor__toolbar_height: 2.75rem;
@@ -23,7 +27,7 @@
23
27
  --_sap_ui_richtexteditor__toolbar_height: 2rem;
24
28
  }
25
29
 
26
- /* ====== Footer Toolbar ====== */
30
+ /* Footer Toolbar */
27
31
 
28
32
  .sapUiRTE .sapUiRTETextAreaWrapper.sapUiRTEFooter {
29
33
  --_sap_ui_richtexteditor__footer_height: 2.75rem;
@@ -38,15 +42,9 @@
38
42
  --_sap_ui_richtexteditor__footer_height: 2rem;
39
43
  }
40
44
 
41
- /* This fixes the focus of the split buttons in Edge */
42
- html[data-sap-ui-browser^="ed"] {
43
- .sapUiRTE.sapUiRTEWithCustomToolbar .sapUiRTECustomToolbar .sapMBtnBase.sapMSBText .sapMBtnFocusDiv {
44
- right: 1px;
45
- }
46
- }
47
-
48
45
  .sapUiRTE .sapUiRteEditorContainer {
49
46
  border-radius: 0;
47
+
50
48
  .tox-editor-container
51
49
  .tox-editor-header {
52
50
  padding: 0;
@@ -62,10 +60,11 @@ html[data-sap-ui-browser^="ed"] {
62
60
  }
63
61
 
64
62
  .sapUiRTEWithCustomToolbar .sapUiRTETextAreaWrapper {
65
- border: 1px solid @sapUiFieldBorderColor;
63
+ border: 1px solid var(--sapField_BorderColor);
66
64
  }
67
65
 
68
66
  .sapUiRTEWithCustomToolbar .sapUiRteEditorContainer {
67
+
69
68
  .mce-container.mce-panel.mce-first,
70
69
  .mce-container.mce-panel.mce-last {
71
70
  border: none;
@@ -82,16 +81,16 @@ svg.rteFontColorIcon {
82
81
  }
83
82
 
84
83
  svg.rteFontColorIcon path {
85
- fill: @sapUiContentIconColor;
84
+ fill: var(--sapContent_IconColor);
86
85
  }
87
86
 
88
87
  svg.rteFontColorIcon .outline {
89
88
  stroke-width: 1.4px;
90
- stroke:@sapUiContentForegroundBorderColor;
89
+ stroke:var(--sapContent_ForegroundBorderColor);
91
90
  }
92
91
 
93
92
  .sapMBtnActive > svg.rteFontColorIcon path {
94
- fill: @sapUiButtonActiveTextColor;
93
+ fill: var(--sapButton_Active_TextColor);
95
94
  }
96
95
 
97
96
  .sapUiSizeCompact svg.rteFontColorIcon {
@@ -100,10 +99,10 @@ svg.rteFontColorIcon .outline {
100
99
 
101
100
  .sapUiRTE .sapMSBText .sapMBtnIcon::before {
102
101
  text-shadow:
103
- -1px -1px 0 @sapUiContentForegroundBorderColor,
104
- 1px -1px 0 @sapUiContentForegroundBorderColor,
105
- -1px 1px 0 @sapUiContentForegroundBorderColor,
106
- 1px 1px 0 @sapUiContentForegroundBorderColor;
102
+ -1px -1px 0 var(--sapContent_ForegroundBorderColor),
103
+ 1px -1px 0 var(--sapContent_ForegroundBorderColor),
104
+ -1px 1px 0 var(--sapContent_ForegroundBorderColor),
105
+ 1px 1px 0 var(--sapContent_ForegroundBorderColor);
107
106
  }
108
107
 
109
108
  .sapUiRTE .sapUiRTETextAreaWrapper {
@@ -117,4 +116,4 @@ svg.rteFontColorIcon .outline {
117
116
 
118
117
  .sapUiRTE .sapUiRTEFooter .sapMIBar .sapMBarRight {
119
118
  padding-right: 4px;
120
- }
119
+ }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../../../../../sap/ui/core/themes/base/base.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  /* ============================================================================ */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../../../../../sap/ui/core/themes/base/base.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  /* ============================================================================ */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  /* ============================================================================ */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../sap_belize/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  /* ============================================================================== */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../../../../../sap/ui/core/themes/base/base.less";
@@ -1,12 +1,12 @@
1
- /* ==================================================== */
2
- /* CSS for control sap.ui.richtexteditor.RichTextEditor */
3
- /* Fiori 3 theme */
4
- /* ==================================================== */
1
+ /* ===================================================== */
2
+ /* CSS for control sap.ui.richtexteditor/RichTextEditor */
3
+ /* Quartz Light theme */
4
+ /* ===================================================== */
5
5
 
6
6
  .sapUiRTE {
7
7
  --_sap_ui_richtexteditor__wrapper-border: 2px;
8
8
  }
9
9
 
10
10
  .sapUiRTEWithCustomToolbar .sapMTB.sapUiRTECustomToolbar {
11
- border-bottom: none;
12
- }
11
+ border-bottom: none;
12
+ }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,12 +1,12 @@
1
- /* ==================================================== */
2
- /* CSS for control sap.ui.richtexteditor.RichTextEditor */
3
- /* Fiori 3 Dark theme */
4
- /* ==================================================== */
1
+ /* ===================================================== */
2
+ /* CSS for control sap.ui.richtexteditor/RichTextEditor */
3
+ /* Quartz Dark theme */
4
+ /* ===================================================== */
5
5
 
6
6
  .sapUiRTE {
7
7
  --_sap_ui_richtexteditor__wrapper-border: 2px;
8
8
  }
9
9
 
10
10
  .sapUiRTEWithCustomToolbar .sapMTB.sapUiRTECustomToolbar {
11
- border-bottom: none;
12
- }
11
+ border-bottom: none;
12
+ }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,8 +1,8 @@
1
- /* ==================================================== */
2
- /* CSS for control sap.ui.richtexteditor.RichTextEditor */
3
- /* Quartz High Contrast Black theme */
4
- /* ==================================================== */
1
+ /* ===================================================== */
2
+ /* CSS for control sap.ui.richtexteditor/RichTextEditor */
3
+ /* Quartz High Contrast Black theme */
4
+ /* ===================================================== */
5
5
 
6
6
  .sapUiRTEWithCustomToolbar .sapMTB.sapUiRTECustomToolbar {
7
- border-bottom: none;
8
- }
7
+ border-bottom: none;
8
+ }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,8 +1,8 @@
1
- /* ==================================================== */
2
- /* CSS for control sap.ui.richtexteditor.RichTextEditor */
3
- /* Quartz High Contrast White theme */
4
- /* ==================================================== */
1
+ /* ===================================================== */
2
+ /* CSS for control sap.ui.richtexteditor/RichTextEditor */
3
+ /* Quartz High Contrast White theme */
4
+ /* ===================================================== */
5
5
 
6
6
  .sapUiRTEWithCustomToolbar .sapMTB.sapUiRTECustomToolbar {
7
- border-bottom: none;
8
- }
7
+ border-bottom: none;
8
+ }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,12 +1,12 @@
1
- /* ==================================================== */
2
- /* CSS for control sap.ui.richtexteditor.RichTextEditor */
3
- /* Horizon theme */
4
- /* ==================================================== */
1
+ /* ===================================================== */
2
+ /* CSS for control sap.ui.richtexteditor/RichTextEditor */
3
+ /* Morning Horizon theme */
4
+ /* ===================================================== */
5
5
 
6
6
  .sapUiRTE.sapUiRTEWithCustomToolbar {
7
7
 
8
8
  .sapUiRTETextAreaWrapper {
9
- border: @sapUiContentFocusWidth solid @sapUiFieldActiveBorderColor;
9
+ border: var(--sapContent_FocusWidth) solid var(--sapField_Active_BorderColor);
10
10
  }
11
11
 
12
12
  .sapUiRTECustomToolbar.sapMTB.sapMTBStandard {
@@ -15,9 +15,9 @@
15
15
 
16
16
  .sapMBtn:hover > .sapMBtnHoverable:not(.sapMToggleBtnPressed):not(.sapMBtnActive),
17
17
  .sapMSB .sapMBtn:not(.sapMBtnDisabled):not(:focus):hover .sapMBtnInner.sapMBtnActive {
18
- background: @sapUiButtonHoverBackground;
19
- border-color: @sapUiButtonHoverBorderColor;
20
- box-shadow: @sapContent_Interaction_Shadow;
18
+ background: var(--sapButton_Hover_Background);
19
+ border-color: var(--sapButton_Hover_BorderColor);
20
+ box-shadow: var(--sapContent_Interaction_Shadow);
21
21
  }
22
22
 
23
23
  .sapMSB .sapMBtn:hover ~ .sapMBtn:not(.sapMSBText) .sapMBtnInner.sapMBtnIconFirst::before {
@@ -27,4 +27,4 @@
27
27
  .sapMBtn:not(.sapMSBArrow) .sapMBtnInner .sapMBtnIcon {
28
28
  top: 0.0625rem;
29
29
  }
30
- }
30
+ }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,12 +1,12 @@
1
1
  /* ===================================================== */
2
- /* CSS for control sap.ui.richtexteditor.RichTextEditor */
2
+ /* CSS for control sap.ui.richtexteditor/RichTextEditor */
3
3
  /* Evening Horizon theme */
4
4
  /* ===================================================== */
5
5
 
6
6
  .sapUiRTE.sapUiRTEWithCustomToolbar {
7
7
 
8
8
  .sapUiRTETextAreaWrapper {
9
- border: @sapUiContentFocusWidth solid @sapUiFieldActiveBorderColor;
9
+ border: var(--sapContent_FocusWidth) solid var(--sapField_Active_BorderColor);
10
10
  }
11
11
 
12
12
  .sapUiRTECustomToolbar.sapMTB.sapMTBStandard {
@@ -15,9 +15,9 @@
15
15
 
16
16
  .sapMBtn:hover > .sapMBtnHoverable:not(.sapMToggleBtnPressed):not(.sapMBtnActive),
17
17
  .sapMSB .sapMBtn:not(.sapMBtnDisabled):not(:focus):hover .sapMBtnInner.sapMBtnActive {
18
- background: @sapUiButtonHoverBackground;
19
- border-color: @sapUiButtonHoverBorderColor;
20
- box-shadow: @sapContent_Interaction_Shadow;
18
+ background: var(--sapButton_Hover_Background);
19
+ border-color: var(--sapButton_Hover_BorderColor);
20
+ box-shadow: var(--sapContent_Interaction_Shadow);
21
21
  }
22
22
 
23
23
  .sapMSB .sapMBtn:hover ~ .sapMBtn:not(.sapMSBText) .sapMBtnInner.sapMBtnIconFirst::before {
@@ -27,4 +27,4 @@
27
27
  .sapMBtn:not(.sapMSBArrow) .sapMBtnInner .sapMBtnIcon {
28
28
  top: 0.0625rem;
29
29
  }
30
- }
30
+ }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,15 +1,15 @@
1
1
  /* ===================================================== */
2
- /* CSS for control sap.ui.richtexteditor.RichTextEditor */
2
+ /* CSS for control sap.ui.richtexteditor/RichTextEditor */
3
3
  /* Horizon High Contrast Black theme */
4
4
  /* ===================================================== */
5
5
 
6
6
  .sapUiRTE.sapUiRTEWithCustomToolbar {
7
7
 
8
8
  .sapUiRTETextAreaWrapper {
9
- border: @sapUiContentFocusWidth solid @sapUiFieldActiveBorderColor;
9
+ border: var(--sapContent_FocusWidth) solid var(--sapField_Active_BorderColor);
10
10
  }
11
11
 
12
12
  .sapUiRTECustomToolbar.sapMTB.sapMTBStandard {
13
13
  border-bottom: none;
14
14
  }
15
- }
15
+ }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,15 +1,15 @@
1
1
  /* ===================================================== */
2
- /* CSS for control sap.ui.richtexteditor.RichTextEditor */
2
+ /* CSS for control sap.ui.richtexteditor/RichTextEditor */
3
3
  /* Horizon High Contrast White theme */
4
4
  /* ===================================================== */
5
5
 
6
6
  .sapUiRTE.sapUiRTEWithCustomToolbar {
7
7
 
8
8
  .sapUiRTETextAreaWrapper {
9
- border: @sapUiContentFocusWidth solid @sapUiFieldActiveBorderColor;
9
+ border: var(--sapContent_FocusWidth) solid var(--sapField_Active_BorderColor);
10
10
  }
11
11
 
12
12
  .sapUiRTECustomToolbar.sapMTB.sapMTBStandard {
13
13
  border-bottom: none;
14
14
  }
15
- }
15
+ }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2025 SAP SE. All rights reserved.
3
+ * (c) Copyright 2026 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";