overleaf/services/web/frontend/js/features/hotkeys-modal/components/hotkeys-modal-bottom-text.js
M Fahru 6dcc22642a Update "go to line" hotkey for cm6 and add new info text in hotkeys modal
* Update "go to line" hotkey for cm6 and add new info text in hotkeys modal

* Differentiate modal title between cm6 and ace hotkeys

* Update test to reflect change in hotkeys modal title

* Add test for hotkeys modal bottom text

* Update test on editor left menu hotkeys button to reflect change in hotkeys modal title

GitOrigin-RevId: 61bae16313ea7a37fa3b9441dbe5a93ab7823d01
2022-11-25 09:04:20 +00:00

18 lines
493 B
JavaScript

import { Trans } from 'react-i18next'
export default function HotkeysModalBottomText() {
return (
<div className="hotkeys-modal-bottom-text">
<Trans
i18nKey="a_more_comprehensive_list_of_keyboard_shortcuts"
components={[
// eslint-disable-next-line jsx-a11y/anchor-has-content, react/jsx-key
<a
href="/articles/overleaf-keyboard-shortcuts/qykqfvmxdnjf"
target="_blank"
/>,
]}
/>
</div>
)
}