refac: pdf export
This commit is contained in:
1 parent
07357afcf6
commit
d3a952877a
11 files changed
+86
-165
No files matched your search
@@ -38,6 +38,7 @@
|
||||
|
||||
export let isFirstMessage: boolean;
|
||||
export let readOnly: boolean;
|
||||
export let editCodeBlock = true;
|
||||
export let topPadding = false;
|
||||
|
||||
let showDeleteConfirm = false;
|
||||
@@ -332,7 +333,12 @@
|
||||
: ' w-full'} {$settings.chatDirection === 'RTL' ? 'text-right' : ''}"
|
||||
>
|
||||
{#if message.content}
|
||||
<Markdown id={`${chatId}-${message.id}`} content={message.content} {topPadding} />
|
||||
<Markdown
|
||||
id={`${chatId}-${message.id}`}
|
||||
content={message.content}
|
||||
{editCodeBlock}
|
||||
{topPadding}
|
||||
/>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user