mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
6dcc22642a
* 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
18 lines
493 B
JavaScript
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>
|
|
)
|
|
}
|