@sapui5/sap.ui.richtexteditor 1.124.2 → 1.126.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.124.2",
3
+ "version": "1.126.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-2024 SAP SE. All rights reserved.</copyright>
8
- <version>1.124.2</version>
8
+ <version>1.126.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
 
@@ -37,16 +37,16 @@
37
37
  url="../../../../test-resources/sap/ui/richtexteditor/relnotes/changes-{major}.{minor}.json"
38
38
  resolve="lib" />
39
39
  <ownership xmlns="http://www.sap.com/ui5/buildext/ownership">
40
- <component>CA-UI5-CTR-RIL</component><!-- default component for library, embedded text as a shortcut for <name>text</name> -->
40
+ <component>CA-UI5-CTR</component><!-- default component for library, embedded text as a shortcut for <name>text</name> -->
41
41
  </ownership>
42
42
 
43
43
  <thirdparty xmlns="http://www.sap.com/ui5/buildext/thirdparty" >
44
- <lib name="TinyMCE-5" displayName="TinyMCE 5.10.9" npmName="tinymce" version="5.10.9-138" npmVersion="5.10.9" hash="870c2609752297a3960d92ba3b939732" homepage="https://www.tiny.cloud/" id="73555000100200017025">
44
+ <lib name="TinyMCE-5" displayName="TinyMCE 5.10.9" npmName="tinymce" version="5.10.9-138" npmVersion="5.10.9" hash="870c2609752297a3960d92ba3b939732" homepage="https://www.tiny.cloud/" id="73555000100200021466">
45
45
  <license url="https://about.tiny.cloud/legal/" type="Commercial"/>
46
46
  <copyright>Tiny Technologies, Inc.</copyright>
47
47
  <pattern>sap/ui/richtexteditor/js/tiny_mce5/*</pattern>
48
48
  </lib>
49
- <lib name="TinyMCE-6" displayName="TinyMCE 6.8.2" npmName="tinymce" version="6.8.2-45" npmVersion="6.8.2" hash="be46fbf2b83acf7e03c87917cb061bcd" homepage="https://www.tiny.cloud/">
49
+ <lib name="TinyMCE-6" displayName="TinyMCE 6.8.2" npmName="tinymce" version="6.8.2-45" npmVersion="6.8.2" hash="be46fbf2b83acf7e03c87917cb061bcd" homepage="https://www.tiny.cloud/" id="73555000100200021465">
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_mce6/*</pattern>
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @alias sap.ui.richtexteditor.RTESplitButton
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.124.2
27
+ * @version 1.126.0
28
28
  */
29
29
  var RTESplitButton = SplitButton.extend("sap.ui.richtexteditor.RTESplitButton", {
30
30
  metadata: {
@@ -1348,6 +1348,7 @@ sap.ui.define([
1348
1348
 
1349
1349
  aButtons.push(this._helper.createButton({
1350
1350
  id: this._getId("InsertTableButton"),
1351
+ type: ButtonType.Emphasized,
1351
1352
  text: this._oResourceBundle.getText("DIALOG_OK_BUTTON"),
1352
1353
  press: function () {
1353
1354
  var oDomRef = oRTE.getNativeApi().dom;
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  "sap.ui.richtexteditor.RTESplitButton"
36
36
  ],
37
37
  elements: [],
38
- version: "1.124.2"
38
+ version: "1.126.0"
39
39
  });
40
40
 
41
41
  /**
@@ -1,10 +1,19 @@
1
- /*!
1
+ /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
- */
5
-
6
- @import "../base/library.source.less";
7
- @import "../../../../../sap/ui/core/themes/sap_belize/base.less";
8
- @import "../../../../../sap/ui/core/themes/sap_belize/global.less";
9
-
10
- @import "./RichTextEditor.less";
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
+ */
5
+
6
+ /* ============================================================================ */
7
+ /* Due to deprecation of the Belize theme family with SAPUI5 version 1.120 the */
8
+ /* inheritance of the base theme is now updated to an inheritance of a static */
9
+ /* copy of the base theme named sap_belize_base. The respective */
10
+ /* control css files of base are copied to the sap_belize_base theme folder. */
11
+ /* This decoupling of the base theme is introduced with SAPUI5 version 1.125. */
12
+ /* ============================================================================ */
13
+
14
+
15
+ @import "../sap_belize_base/library.source.less";
16
+ @import "../../../../../sap/ui/core/themes/sap_belize/base.less";
17
+ @import "../../../../../sap/ui/core/themes/sap_belize/global.less";
18
+
19
+ @import "./RichTextEditor.less";
@@ -0,0 +1,83 @@
1
+ .sapUiRTE {
2
+ display: inline-block;
3
+ min-height: 200px;
4
+ }
5
+
6
+ .sapUiRTE.sapUiRTEWithCustomToolbar {
7
+ --_sap_ui_richtexteditor__toolbar_height: 2.75rem;
8
+ }
9
+
10
+ .sapUiRTE:not(.sapUiRTEWithCustomToolbar) {
11
+ --_sap_ui_richtexteditor__toolbar_height: 0rem;
12
+ }
13
+
14
+ .sapUiSizeCompact.sapUiRTE.sapUiRTEWithCustomToolbar,
15
+ .sapUiSizeCompact .sapUiRTE.sapUiRTEWithCustomToolbar {
16
+ --_sap_ui_richtexteditor__toolbar_height: 2rem;
17
+ }
18
+
19
+ /* This fixes the focus of the split buttons in Edge */
20
+ html[data-sap-ui-browser^="ed"] {
21
+ .sapUiRTE.sapUiRTEWithCustomToolbar .sapUiRTECustomToolbar .sapMBtnBase.sapMSBText .sapMBtnFocusDiv {
22
+ right: 1px;
23
+ }
24
+ }
25
+
26
+ .sapUiRTE .sapUiRteEditorContainer {
27
+ border-radius: 0;
28
+ border-width: 1px;
29
+ .tox-editor-container
30
+ .tox-editor-header {
31
+ padding: 0;
32
+ }
33
+
34
+ min-height: ~"calc(200px - var(--_sap_ui_richtexteditor__toolbar_height))";
35
+ }
36
+
37
+ .sapUiRTEWithCustomToolbar .sapUiRteEditorContainer {
38
+ box-sizing: border-box;
39
+ border-top: 0;
40
+ border-color: @sapUiFieldBorderColor;
41
+ box-shadow: none;
42
+ }
43
+
44
+ .sapUiRTEWithCustomToolbar .sapUiRteEditorContainer {
45
+ .mce-container.mce-panel.mce-first,
46
+ .mce-container.mce-panel.mce-last {
47
+ border: none;
48
+ }
49
+ }
50
+
51
+ svg.rteFontColorIcon {
52
+ width: 1.375rem;
53
+ height: 100%;
54
+ position: absolute;
55
+ margin: auto;
56
+ left: 0;
57
+ right: 0;
58
+ }
59
+
60
+ svg.rteFontColorIcon path {
61
+ fill: @sapUiContentIconColor;
62
+ }
63
+
64
+ svg.rteFontColorIcon .outline {
65
+ stroke-width: 1.4px;
66
+ stroke:@sapUiContentForegroundBorderColor;
67
+ }
68
+
69
+ .sapMBtnActive > svg.rteFontColorIcon path {
70
+ fill: @sapUiButtonActiveTextColor;
71
+ }
72
+
73
+ .sapUiSizeCompact svg.rteFontColorIcon {
74
+ width: 1rem;
75
+ }
76
+
77
+ .sapUiRTE .sapMSBText .sapMBtnIcon::before {
78
+ text-shadow:
79
+ -1px -1px 0 @sapUiContentForegroundBorderColor,
80
+ 1px -1px 0 @sapUiContentForegroundBorderColor,
81
+ -1px 1px 0 @sapUiContentForegroundBorderColor,
82
+ 1px 1px 0 @sapUiContentForegroundBorderColor;
83
+ }
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * SAPUI5
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
+ */
5
+
6
+ @import "../../../../../sap/ui/core/themes/base/base.less";
7
+ @import "../../../../../sap/ui/core/themes/base/global.less";
8
+
9
+ @import "RichTextEditor.less";
@@ -1,10 +1,19 @@
1
- /*!
1
+ /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
- */
5
-
6
- @import "../base/library.source.less";
7
- @import "../../../../../sap/ui/core/themes/sap_belize_hcb/base.less";
8
- @import "../../../../../sap/ui/core/themes/sap_belize_hcb/global.less";
9
-
10
- @import "./RichTextEditor.less";
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
+ */
5
+
6
+ /* ============================================================================ */
7
+ /* Due to deprecation of the Belize theme family with SAPUI5 version 1.120 the */
8
+ /* inheritance of the base theme is now updated to an inheritance of a static */
9
+ /* copy of the base theme named sap_belize_base. The respective */
10
+ /* control css files of base are copied to the sap_belize_base theme folder. */
11
+ /* This decoupling of the base theme is introduced with SAPUI5 version 1.125. */
12
+ /* ============================================================================ */
13
+
14
+
15
+ @import "../sap_belize_base/library.source.less";
16
+ @import "../../../../../sap/ui/core/themes/sap_belize_hcb/base.less";
17
+ @import "../../../../../sap/ui/core/themes/sap_belize_hcb/global.less";
18
+
19
+ @import "./RichTextEditor.less";
@@ -1,10 +1,19 @@
1
- /*!
1
+ /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
- */
5
-
6
- @import "../base/library.source.less";
7
- @import "../../../../../sap/ui/core/themes/sap_belize_hcw/base.less";
8
- @import "../../../../../sap/ui/core/themes/sap_belize_hcw/global.less";
9
-
10
- @import "./RichTextEditor.less";
3
+ * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
+ */
5
+
6
+ /* ============================================================================ */
7
+ /* Due to deprecation of the Belize theme family with SAPUI5 version 1.120 the */
8
+ /* inheritance of the base theme is now updated to an inheritance of a static */
9
+ /* copy of the base theme named sap_belize_base. The respective */
10
+ /* control css files of base are copied to the sap_belize_base theme folder. */
11
+ /* This decoupling of the base theme is introduced with SAPUI5 version 1.125. */
12
+ /* ============================================================================ */
13
+
14
+
15
+ @import "../sap_belize_base/library.source.less";
16
+ @import "../../../../../sap/ui/core/themes/sap_belize_hcw/base.less";
17
+ @import "../../../../../sap/ui/core/themes/sap_belize_hcw/global.less";
18
+
19
+ @import "./RichTextEditor.less";
@@ -3,13 +3,13 @@
3
3
  * (c) Copyright 2009-2024 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
- /***********************************************************************************
7
- /* Due to deprecation of sap_bluecrystal with SAPUI5 version 1.44 the
8
- /* inheritance of the base theme is now updated to an inheritance of a static
9
- /* copy of the base theme named sap_bluecrystal_base. The respective
10
- /* control css files of base are copied to the sap_bluecrystal_base theme folder.
11
- /* This decoupling of the base theme is introduced with SAPUI5 version 1.124.
12
- ***********************************************************************************/
6
+ /* ============================================================================== */
7
+ /* Due to deprecation of sap_bluecrystal with SAPUI5 version 1.44 the */
8
+ /* inheritance of the base theme is now updated to an inheritance of a static */
9
+ /* copy of the base theme named sap_bluecrystal_base. The respective */
10
+ /* control css files of base are copied to the sap_bluecrystal_base theme folder. */
11
+ /* This decoupling of the base theme is introduced with SAPUI5 version 1.124. */
12
+ /* ============================================================================== */
13
13
 
14
14
 
15
15
  @import "../sap_bluecrystal_base/library.source.less";