mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 05:41:33 +02:00
Merge pull request #25213 from overleaf/dp-switch-to-editor
Add SwitchToEditorButton to new editor GitOrigin-RevId: 6ea546fbc208c0a815f895c33ce4b5fe67829083
This commit is contained in:
+3
-1
@@ -3,6 +3,7 @@ import OlButtonToolbar from '@/features/ui/components/ol/ol-button-toolbar'
|
||||
import PdfCompileButton from '@/features/pdf-preview/components/pdf-compile-button'
|
||||
import PdfHybridDownloadButton from '@/features/pdf-preview/components/pdf-hybrid-download-button'
|
||||
import { DetachedSynctexControl } from '@/features/pdf-preview/components/detach-synctex-control'
|
||||
import SwitchToEditorButton from '@/features/pdf-preview/components/switch-to-editor-button'
|
||||
|
||||
function PdfPreviewHybridToolbar() {
|
||||
// TODO: add detached pdf logic
|
||||
@@ -14,8 +15,9 @@ function PdfPreviewHybridToolbar() {
|
||||
</div>
|
||||
<div className="toolbar-pdf-right">
|
||||
<div className="toolbar-pdf-controls" id="toolbar-pdf-controls" />
|
||||
<SwitchToEditorButton />
|
||||
<DetachedSynctexControl />
|
||||
{/* TODO: should we have switch to editor/code check? */}
|
||||
{/* TODO: should we have code check? */}
|
||||
</div>
|
||||
</OlButtonToolbar>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user