@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
|
@@ -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.
|
|
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
|
|
|
@@ -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)
|
|
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
|