Merge pull request 'fix/bug-77275' (#755) from fix/bug-77275 into release/v9.1.0

Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/web-apps/pulls/755
This commit is contained in:
Oleg Korshul
2025-10-06 12:19:26 +00:00
4 changed files with 23 additions and 7 deletions

View File

@ -90,12 +90,27 @@ define([
38: 'ArrowUp',
39: 'ArrowRight',
40: 'ArrowDown',
44: 'PrintScreen',
45: 'Insert',
46: 'Delete',
91: 'Meta',
93: 'ContextMenu',
107: 'Numpad+',
109: 'Numpad-',
96: "Num 0",
97: "Num 1",
98: "Num 2",
99: "Num 3",
100: "Num 4",
101: "Num 5",
102: "Num 6",
103: "Num 7",
104: "Num 8",
105: "Num 9",
106: "Num *",
107: "Num +",
108: "Num Enter",
109: "Num -",
110: "Num .",
111: "Num /",
112: 'F1',
113: 'F2',
114: 'F3',
@ -108,6 +123,8 @@ define([
121: 'F10',
122: 'F11',
123: 'F12',
144: 'NumLock',
145: 'ScrollLock',
173: 'ff-',
61: 'ff=',
186: ';',

View File

@ -925,10 +925,9 @@ define([
if ( config.canPrint ) {
this.btnPrint = createTitleButton('toolbar__icon icon--inverse btn-print', $html.findById('#slot-hbtn-print'), undefined, 'bottom', 'big', 'P');
this.btnPrint.updateHint(this.tipPrint);
this.shortcutHints.PrintPreviewAndPrint = {
btn: me.btnPrint,
label: me.tipPrint
label: me.tipPrint + (!!window.VE ? (Common.Utils.String.platformKey('Ctrl+P')) : '')
};
}

View File

@ -119,7 +119,7 @@ define([
VE.getController('Common.Controllers.Shortcuts').updateShortcutHints({
OpenChatPanel: {
btn: this.btnChat,
label: this.tipChat
label: this.tipChat + Common.Utils.String.platformKey('Alt+Q', ' (' + (Common.Utils.isMac ? Common.Utils.String.textCtrl + '+' : '') + '{0})')
}
});

View File

@ -57,11 +57,11 @@ define([
VE.getController('Common.Controllers.Shortcuts').updateShortcutHints({
ZoomOut: {
btn: me.btnZoomDown,
label: me.tipZoomOut
label: me.tipZoomOut + Common.Utils.String.platformKey('Ctrl+-')
},
ZoomIn: {
btn: me.btnZoomUp,
label: me.tipZoomIn
label: me.tipZoomIn + Common.Utils.String.platformKey('Ctrl++')
}
});