@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 +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 +1 -1
- package/src/sap/ui/richtexteditor/RichTextEditorRenderer.js +1 -2
- package/src/sap/ui/richtexteditor/ToolbarWrapper.js +3 -4
- package/src/sap/ui/richtexteditor/ToolbarWrapperRenderer.js +1 -2
- package/src/sap/ui/richtexteditor/library.js +1 -1
- package/src/sap/ui/richtexteditor/themes/sap_horizon_dark/RichTextEditor.less +45 -0
- package/src/sap/ui/richtexteditor/themes/sap_horizon_dark/library.source.less +10 -0
- package/src/sap/ui/richtexteditor/themes/sap_horizon_hcb/RichTextEditor.less +13 -0
- package/src/sap/ui/richtexteditor/themes/sap_horizon_hcb/library.source.less +10 -0
- package/src/sap/ui/richtexteditor/themes/sap_horizon_hcw/RichTextEditor.less +13 -0
- package/src/sap/ui/richtexteditor/themes/sap_horizon_hcw/library.source.less +10 -0
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.
|
|
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
|
|
|
@@ -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 {
|
|
1699
|
+
* @returns {string} Text direction
|
|
1700
1700
|
* @private
|
|
1701
1701
|
*/
|
|
1702
1702
|
RichTextEditor.prototype._getTextDirection = function() {
|
|
@@ -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
|
-
* @
|
|
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} [
|
|
1675
|
-
* @returns {
|
|
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) {
|
|
@@ -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";
|