diff --git a/public/locales/en.json b/public/locales/en.json index 98317b173..4ac51e1f7 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -201,6 +201,12 @@ "switchToDark": "Switch to Dark Mode", "switchToLight": "Switch to Light Mode" }, + "appBar": { + "syncScroll": { + "disable": "Disable sync scroll", + "enable": "Enable sync scroll" + } + }, "editorToolbar": { "bold": "Bold", "italic": "Italic", diff --git a/src/components/editor/app-bar/app-bar.tsx b/src/components/editor/app-bar/app-bar.tsx index 4bd1cabb5..9bd23482c 100644 --- a/src/components/editor/app-bar/app-bar.tsx +++ b/src/components/editor/app-bar/app-bar.tsx @@ -9,6 +9,7 @@ import { ForkAwesomeIcon } from '../../common/fork-awesome/fork-awesome-icon' import { ShowIf } from '../../common/show-if/show-if' import { SignInButton } from '../../landing-layout/navigation/sign-in-button' import { UserDropdown } from '../../landing-layout/navigation/user-dropdown' +import { SyncScrollButton } from './sync-scroll-button/sync-scroll-button' import { EditorPathParams } from '../editor' import { DarkModeButton } from './dark-mode-button' import { EditorViewMode } from './editor-view-mode' @@ -25,6 +26,7 @@ export const AppBar: React.FC = () => {