changes
This commit is contained in:
@ -88,7 +88,7 @@
|
||||
</ToolbarGroup>
|
||||
</Toolbar>
|
||||
</div>
|
||||
{#if page?.name.endsWith("md")}
|
||||
{#if page?.name.endsWith("md") || page?.name.endsWith("mdx")}
|
||||
<MDEMarkdownEditor bind:value={pageContent} bind:dirty/>
|
||||
{:else}
|
||||
<CodeMirror bind:value={pageContent} lang={json()} theme={materialDark} on:change={() => dirty = true}/>
|
||||
|
||||
Reference in New Issue
Block a user