mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 11:10:56 +08:00
[DE PE SSE] Return alt hints by option key on mac
This commit is contained in:
@ -642,10 +642,9 @@ Common.UI.HintManager = new(function() {
|
||||
}
|
||||
|
||||
_needShow = (Common.Utils.InternalSettings.get(_appPrefix + "settings-show-alt-hints") && !e.shiftKey &&
|
||||
(!Common.Utils.isMac && e.keyCode == Common.UI.Keys.ALT || Common.Utils.isMac && e.metaKey && e.keyCode === Common.UI.Keys.F6) &&
|
||||
!Common.Utils.ModalWindow.isVisible() && _isDocReady && _arrAlphabet.length > 0 &&
|
||||
e.keyCode == Common.UI.Keys.ALT && !Common.Utils.ModalWindow.isVisible() && _isDocReady && _arrAlphabet.length > 0 &&
|
||||
!(window.PE && $('#pe-preview').is(':visible')));
|
||||
if (Common.Utils.InternalSettings.get(_appPrefix + "settings-show-alt-hints") && !Common.Utils.isMac && e.altKey && e.keyCode !== 115 && _isInternalEditorLoading) {
|
||||
if (Common.Utils.InternalSettings.get(_appPrefix + "settings-show-alt-hints") && e.altKey && e.keyCode !== 115 && _isInternalEditorLoading) {
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
@ -1096,7 +1096,7 @@ define([
|
||||
txtWorkspace: 'Workspace',
|
||||
txtHieroglyphs: 'Hieroglyphs',
|
||||
txtUseAltKey: 'Use Alt key to navigate the user interface using the keyboard',
|
||||
txtUseOptionKey: 'Use ⌘F6 to navigate the user interface using the keyboard',
|
||||
txtUseOptionKey: 'Use Option key to navigate the user interface using the keyboard',
|
||||
strShowComments: 'Show comments in text',
|
||||
strShowResolvedComments: 'Show resolved comments',
|
||||
txtFastTip: 'Real-time co-editing. All changes are saved automatically',
|
||||
|
||||
@ -875,7 +875,7 @@ define([
|
||||
txtWorkspace: 'Workspace',
|
||||
txtHieroglyphs: 'Hieroglyphs',
|
||||
txtUseAltKey: 'Use Alt key to navigate the user interface using the keyboard',
|
||||
txtUseOptionKey: 'Use ⌘F6 to navigate the user interface using the keyboard',
|
||||
txtUseOptionKey: 'Use Option key to navigate the user interface using the keyboard',
|
||||
txtFastTip: 'Real-time co-editing. All changes are saved automatically',
|
||||
txtStrictTip: 'Use the \'Save\' button to sync the changes you and others make',
|
||||
strIgnoreWordsInUPPERCASE: 'Ignore words in UPPERCASE',
|
||||
|
||||
@ -1264,7 +1264,7 @@ define([
|
||||
txtWorkspace: 'Workspace',
|
||||
strReferenceStyle: 'R1C1 reference style',
|
||||
txtUseAltKey: 'Use Alt key to navigate the user interface using the keyboard',
|
||||
txtUseOptionKey: 'Use ⌘F6 to navigate the user interface using the keyboard',
|
||||
txtUseOptionKey: 'Use Option key to navigate the user interface using the keyboard',
|
||||
txtRegion: 'Region',
|
||||
txtProofing: 'Proofing',
|
||||
strDictionaryLanguage: 'Dictionary language',
|
||||
|
||||
Reference in New Issue
Block a user