@sapui5/sap.ui.richtexteditor 1.127.1 → 1.127.3
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
|
@@ -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.127.
|
|
8
|
+
<version>1.127.3</version>
|
|
9
9
|
|
|
10
10
|
<documentation>A rich text editor (RTE) control. Requires installation of an additional rich text editor library.</documentation>
|
|
11
11
|
|
|
@@ -394,7 +394,7 @@ sap.ui.define([
|
|
|
394
394
|
sItemId = oControl.getId() + sFontName;
|
|
395
395
|
|
|
396
396
|
sCommandValue = oFontFamilyCommand[sFontName].commandValue.match(/\w+/g).join("").toLowerCase();
|
|
397
|
-
sFontNameCommandValue = sFontNameCommandValue && sFontNameCommandValue.match(/\w+/g)
|
|
397
|
+
sFontNameCommandValue = sFontNameCommandValue && sFontNameCommandValue.match(/\w+/g)?.join("").toLowerCase();
|
|
398
398
|
sText = oFontFamilyCommand[sFontName].text.match(/\w+/g).join("").toLowerCase();
|
|
399
399
|
|
|
400
400
|
// the selected item should be changed, only when the new one is different
|