-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from bob2402/edit-markdown
problem: can't edit markdown
- Loading branch information
Showing
4 changed files
with
127 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<script lang="ts"> | ||
import * as Resizable from '$lib/components/ui/resizable'; | ||
</script> | ||
|
||
<div class="hidden lg:block"> | ||
<Resizable.PaneGroup direction="horizontal" class="h-full items-stretch overflow-hidden"> | ||
<Resizable.Pane defaultSize={50} minSize={40} maxSize={60}> | ||
<slot name="editor" /> | ||
</Resizable.Pane> | ||
<Resizable.Handle withHandle /> | ||
<Resizable.Pane defaultSize={50} minSize={40} maxSize={60}> | ||
<slot name="preview" /> | ||
</Resizable.Pane> | ||
</Resizable.PaneGroup> | ||
</div> | ||
<div class="block lg:hidden"> | ||
<slot name="editor" /> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters