refac
This commit is contained in:
1 parent
12f0ad28bf
commit
4a70aaa162
1 file changed
+3
-3
@@ -418,7 +418,7 @@
|
||||
title="HTML Preview"
|
||||
/>
|
||||
{:else if isHtml && showRaw}
|
||||
<div class="h-full">
|
||||
<div class="absolute inset-0">
|
||||
<FileCodeEditor
|
||||
bind:this={fileCodeEditorRef}
|
||||
value={fileContent ?? ''}
|
||||
@@ -431,7 +431,7 @@
|
||||
{@html renderedHtml}
|
||||
</div>
|
||||
{:else if isMarkdown && showRaw}
|
||||
<div class="h-full">
|
||||
<div class="absolute inset-0">
|
||||
<FileCodeEditor
|
||||
bind:this={fileCodeEditorRef}
|
||||
value={fileContent ?? ''}
|
||||
@@ -488,7 +488,7 @@
|
||||
})}
|
||||
</div>
|
||||
{:else if isCode && !showRaw}
|
||||
<div class="h-full">
|
||||
<div class="absolute inset-0">
|
||||
<FileCodeEditor
|
||||
bind:this={fileCodeEditorRef}
|
||||
value={fileContent ?? ''}
|
||||
|
||||
Reference in new issue
Block a user