|
|
@@ -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>
|
|
|
)
|