Prepend
Append
{ console.log('JournalEntry_SettingsMenu: Export Entry clicked'); if (onShowExport) { onShowExport(); } else { console.warn('JournalEntry_SettingsMenu: onShowExport prop is undefined'); } }} title="Export this Entry" >
Export Entry
Select Category
{#each journal?.cfg_json?.category_li ?? [] as category}
{category.name}
{/each}
copyToClipboard(tmp_entry_obj.content, 'Markdown copied!')} title="Copy Markdown">
copyToClipboard(entry.content_md_html || '', 'HTML copied!')} title="Copy HTML">
{#if entry.history || entry.history_encrypted}
Review History
{/if}
Sort Order
{ tmp_entry_obj.sort = (entry.sort ?? 0) + 1; onSave(); }} >
{tmp_entry_obj.sort ?? entry.sort ?? 0}
{ tmp_entry_obj.sort = Math.max(0, (entry.sort ?? 0) - 1); onSave(); }} >
{#if entry.archive_on}
{ tmp_entry_obj.archive_on = null; onSave(); }} class="btn-icon btn-icon-sm text-error-500">
{/if}
{#if $ae_loc.edit_mode && journals_li.length}
Move to Journal
{ if(confirm('Change parent journal?')) onChangeJournal(); }} >
Select Journal
{#each journals_li as j}
{j.name}
{/each}
{/if}
Delete Entry