mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-07 02:58:21 +00:00
refac
This commit is contained in:
parent
12f0ad28bf
commit
4a70aaa162
1 changed files with 3 additions and 3 deletions
|
|
@ -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 ?? ''}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue