markupeditor 0.9.54 → 0.9.55

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.
@@ -40846,7 +40846,8 @@ function baseKeyString(itemName, keymap) {
40846
40846
  keyString = keyString.replaceAll('Shift', '\u21E7'); // ⇧
40847
40847
  keyString = keyString.replaceAll('Alt', '\u2325'); // ⌥
40848
40848
  keyString = keyString.replaceAll('-', '');
40849
- return keyString
40849
+ // Show a letter key in capitals, as the menu bar does
40850
+ return keyString.replace(/(^|[\u2318\u2303\u21E7\u2325])([a-z])$/, (_, lead, letter) => lead + letter.toUpperCase())
40850
40851
  }
40851
40852
 
40852
40853
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markupeditor",
3
- "version": "0.9.54",
3
+ "version": "0.9.55",
4
4
  "description": "A web component and API for WYSIWYG HTML editing.",
5
5
  "keywords": [
6
6
  "wysiwyg",