mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Added: edit button
This commit is contained in:
parent
7788aa7785
commit
5d536f2f8e
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
import type { Writable } from "svelte/store";
|
||||
import AnswerButton from "./AnswerButton.svelte";
|
||||
import { bridgeCommand } from "@tslib/bridgecommand";
|
||||
import * as tr from "@generated/ftl"
|
||||
|
||||
export let answerButtons: Writable<AnswerButtonInfo[]>
|
||||
$: console.log($answerButtons)
|
||||
|
@ -10,7 +11,7 @@
|
|||
<div id="outer fancy">
|
||||
<div id="tableinner">
|
||||
<div>
|
||||
<button>Edit</button>
|
||||
<button title={tr.actionsShortcutKey({val: "E"})} on:click={()=>bridgeCommand("edit")}>{tr.studyingEdit()}</button>
|
||||
</div>
|
||||
<div>
|
||||
{#if $answerButtons.length}
|
||||
|
|
Loading…
Reference in a new issue