Update NoteEditor.svelte to swap pin and html view. (#3821)

This commit is contained in:
GithubAnon0000 2025-02-16 09:23:22 +00:00 committed by GitHub
parent 70b6cc9682
commit 1beb0cfa8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -710,6 +710,13 @@ the AddCards dialog) should be implemented in the user of this component.
{#if cols[index] === "dupe"}
<DuplicateLink />
{/if}
<slot
name="field-state"
{field}
{index}
show={fields[index] === $hoveredField ||
fields[index] === $focusedField}
/>
{#if plainTextDefaults[index]}
<RichTextBadge
show={!fieldsCollapsed[index] &&
@ -727,13 +734,6 @@ the AddCards dialog) should be implemented in the user of this component.
on:toggle={() => togglePlainTextInput(index)}
/>
{/if}
<slot
name="field-state"
{field}
{index}
show={fields[index] === $hoveredField ||
fields[index] === $focusedField}
/>
</FieldState>
</LabelContainer>
</svelte:fragment>