@sapui5/sap.ui.richtexteditor 1.120.21 → 1.120.22

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.120.21",
3
+ "version": "1.120.22",
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-2023 SAP SE. All rights reserved.</copyright>
8
- <version>1.120.21</version>
8
+ <version>1.120.22</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.120.21
27
+ * @version 1.120.22
28
28
  */
29
29
  var RTESplitButton = SplitButton.extend("sap.ui.richtexteditor.RTESplitButton", {
30
30
  metadata: {
@@ -391,7 +391,7 @@ sap.ui.define([
391
391
  sItemId = oControl.getId() + sFontName;
392
392
 
393
393
  sCommandValue = oFontFamilyCommand[sFontName].commandValue.match(/\w+/g).join("").toLowerCase();
394
- sFontNameCommandValue = sFontNameCommandValue && sFontNameCommandValue.match(/\w+/g).join("").toLowerCase();
394
+ sFontNameCommandValue = sFontNameCommandValue && sFontNameCommandValue.match(/\w+/g)?.join("").toLowerCase();
395
395
  sText = oFontFamilyCommand[sFontName].text.match(/\w+/g).join("").toLowerCase();
396
396
 
397
397
  // the selected item should be changed, only when the new one is different
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  "sap.ui.richtexteditor.RTESplitButton"
35
35
  ],
36
36
  elements: [],
37
- version: "1.120.21"
37
+ version: "1.120.22"
38
38
  });
39
39
 
40
40
  /**