mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Update NoteEditor.svelte to swap pin and html view. (#3821)
This commit is contained in:
parent
70b6cc9682
commit
1beb0cfa8c
1 changed files with 7 additions and 7 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue