mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-02 18:10:18 +05:30
feat(renderer): wire EditorPane into AppShell
This commit is contained in:
@@ -3,6 +3,7 @@ import { TabBar } from './TabBar';
|
|||||||
import { Toolbar } from './Toolbar';
|
import { Toolbar } from './Toolbar';
|
||||||
import { Breadcrumb } from './Breadcrumb';
|
import { Breadcrumb } from './Breadcrumb';
|
||||||
import { StatusBar } from './StatusBar';
|
import { StatusBar } from './StatusBar';
|
||||||
|
import { EditorPane } from '@/components/editor/EditorPane';
|
||||||
import { useAppStore } from '@/stores/app-store';
|
import { useAppStore } from '@/stores/app-store';
|
||||||
import { ResizablePanelGroup, ResizablePanel, ResizableHandle } from '@/components/ui/resizable';
|
import { ResizablePanelGroup, ResizablePanel, ResizableHandle } from '@/components/ui/resizable';
|
||||||
|
|
||||||
@@ -31,9 +32,7 @@ export function AppShell() {
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
<ResizablePanel defaultSize={previewVisible ? paneSizes.editor : 100} minSize={20}>
|
<ResizablePanel defaultSize={previewVisible ? paneSizes.editor : 100} minSize={20}>
|
||||||
<section className="h-full bg-background p-4 text-sm text-muted-foreground">
|
<EditorPane />
|
||||||
Editor placeholder
|
|
||||||
</section>
|
|
||||||
</ResizablePanel>
|
</ResizablePanel>
|
||||||
{previewVisible && (
|
{previewVisible && (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user