@sapui5/sap.ui.richtexteditor 1.99.0 → 1.100.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.ui.richtexteditor",
3
- "version": "1.99.0",
3
+ "version": "1.100.0",
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)",
@@ -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.99.0</version>
8
+ <version>1.100.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
 
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @alias sap.ui.richtexteditor.RTESplitButton
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.99.0
27
+ * @version 1.100.0
28
28
  */
29
29
  var RTESplitButton = SplitButton.extend("sap.ui.richtexteditor.RTESplitButton", {
30
30
  metadata: {
@@ -1696,7 +1696,7 @@ sap.ui.define([
1696
1696
  /**
1697
1697
  * Helper function for evaluating the textDirection of the tinyMCE's content config
1698
1698
  *
1699
- * @returns {sString} Text direction
1699
+ * @returns {string} Text direction
1700
1700
  * @private
1701
1701
  */
1702
1702
  RichTextEditor.prototype._getTextDirection = function() {
@@ -10,8 +10,7 @@ sap.ui.define(['sap/ui/core/Core'],
10
10
 
11
11
  /**
12
12
  * RichTextEditorRenderer
13
- * @class
14
- * @static
13
+ * @namespace
15
14
  * @author Malte Wedel, Andreas Kunz
16
15
  */
17
16
  var RichTextEditorRenderer = {
@@ -1050,10 +1050,9 @@ sap.ui.define([
1050
1050
  * Helper function for generating link HTML content
1051
1051
  *
1052
1052
  * @param {string} [sURL] The URL of the HTML link tag
1053
- * @param {string} [sText] The text of the HTML link tag
1054
1053
  * @param {string} [sTitle] The title of the HTML link tag
1055
1054
  * @param {boolean} [bTarget] True if the provided link should be opened in a new window
1056
- * @returns {string} String representing HTML tag with the provided parameters
1055
+ * @param {string} [sText] The text of the HTML link tag
1057
1056
  * @private
1058
1057
  */
1059
1058
  ToolbarWrapper.prototype._generateLinkHTML = function (sURL, sTitle, bTarget, sText) {
@@ -1671,8 +1670,8 @@ sap.ui.define([
1671
1670
  /**
1672
1671
  * Helper function for finding the priority of the last group in the toolbar
1673
1672
  *
1674
- * @param {Array} [oGroups] Group name
1675
- * @returns {Number} The priority of the last group in the toolbar
1673
+ * @param {Array} [aGroups] Group name
1674
+ * @returns {number} The priority of the last group in the toolbar
1676
1675
  * @private
1677
1676
  */
1678
1677
  ToolbarWrapper.prototype._getLastGroupPriority = function (aGroups) {
@@ -10,8 +10,7 @@ sap.ui.define([],
10
10
 
11
11
  /**
12
12
  * RichTextEditor's ToolbarRenderer
13
- * @class
14
- * @static
13
+ * @namespace
15
14
  */
16
15
  var ToolbarRenderer = {
17
16
  apiVersion: 2
@@ -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.99.0"
40
+ version: "1.100.0"
41
41
  });
42
42
 
43
43
  /**
@@ -0,0 +1,45 @@
1
+ /* ===================================================== */
2
+ /* CSS for control sap.ui.richtexteditor.RichTextEditor */
3
+ /* Evening Horizon theme */
4
+ /* ===================================================== */
5
+
6
+ .sapUiRTE.sapUiRTEWithCustomToolbar .sapUiRTECustomToolbar .sapMBtnBase.sapMSBText:not(.sapMSBTextIE) .sapMBtnInner {
7
+ margin-right: 2.5rem;
8
+ }
9
+
10
+ .sapUiSizeCompact .sapUiRTECustomToolbar .sapMBtnInner .sapMBtnIcon {
11
+ margin-left: 0.4375rem;
12
+ margin-right: 0.4375rem;
13
+ }
14
+
15
+ .sapUiRTE .sapMSBText .sapMBtnIcon::before {
16
+ text-shadow: none;
17
+ }
18
+
19
+ .sapUiRTE.sapUiRTEWithCustomToolbar .sapUiRTECustomToolbar {
20
+
21
+ .sapMToggleBtn,
22
+ .sapMBtn:not(:first-child) {
23
+ margin-right: 0;
24
+ margin-left: 0;
25
+ }
26
+
27
+ .sapMBtnBase.sapMSBText:not(.sapMSBTextIE) .sapMBtnInner {
28
+ margin-right: 2.25rem;
29
+ }
30
+
31
+ .sapMSB,
32
+ .sapMMenuBtn,
33
+ .sapMSlt,
34
+ .sapMTBSeparator {
35
+ margin-right: 0.25rem;
36
+ margin-left: 0;
37
+ }
38
+ }
39
+
40
+
41
+ .sapUiSizeCompact {
42
+ .sapUiRTE.sapUiRTEWithCustomToolbar .sapUiRTECustomToolbar .sapMBtnBase.sapMSBText:not(.sapMSBTextIE) .sapMBtnInner {
43
+ margin-right: 2rem;
44
+ }
45
+ }
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * SAPUI5
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
+ */
5
+
6
+ @import "../base/library.source.less";
7
+ @import "../../../../../sap/ui/core/themes/sap_horizon_dark/base.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_horizon_dark/global.less";
9
+
10
+ @import "RichTextEditor.less";
@@ -0,0 +1,13 @@
1
+ /* ===================================================== */
2
+ /* CSS for control sap.ui.richtexteditor.RichTextEditor */
3
+ /* Horizon High Contrast Black theme */
4
+ /* ===================================================== */
5
+
6
+ .sapUiRTE.sapUiRTEWithCustomToolbar .sapUiRTECustomToolbar .sapMBtnBase.sapMSBText:not(.sapMSBTextIE) .sapMBtnInner {
7
+ margin-right: 2.5rem;
8
+ }
9
+
10
+ .sapUiSizeCompact .sapUiRTECustomToolbar .sapMBtnInner .sapMBtnIcon {
11
+ margin-left: 0.4375rem;
12
+ margin-right: 0.4375rem;
13
+ }
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * SAPUI5
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
+ */
5
+
6
+ @import "../base/library.source.less";
7
+ @import "../../../../../sap/ui/core/themes/sap_horizon_hcb/base.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_horizon_hcb/global.less";
9
+
10
+ @import "RichTextEditor.less";
@@ -0,0 +1,13 @@
1
+ /* ===================================================== */
2
+ /* CSS for control sap.ui.richtexteditor.RichTextEditor */
3
+ /* Horizon High Contrast White theme */
4
+ /* ===================================================== */
5
+
6
+ .sapUiRTE.sapUiRTEWithCustomToolbar .sapUiRTECustomToolbar .sapMBtnBase.sapMSBText:not(.sapMSBTextIE) .sapMBtnInner {
7
+ margin-right: 2.5rem;
8
+ }
9
+
10
+ .sapUiSizeCompact .sapUiRTECustomToolbar .sapMBtnInner .sapMBtnIcon {
11
+ margin-left: 0.4375rem;
12
+ margin-right: 0.4375rem;
13
+ }
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * SAPUI5
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
+ */
5
+
6
+ @import "../base/library.source.less";
7
+ @import "../../../../../sap/ui/core/themes/sap_horizon_hcw/base.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_horizon_hcw/global.less";
9
+
10
+ @import "RichTextEditor.less";