From cab5daa22e986fdf0c71a370ebd459efa0a13a61 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 26 Sep 2020 13:45:48 -0400 Subject: Add clipboard-text Anki field (#863) * Add clipboard-text anki field * Add markers * Update clipboard injection --- ext/bg/data/anki-field-templates-upgrade-v4.handlebars | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/bg/data/anki-field-templates-upgrade-v4.handlebars') diff --git a/ext/bg/data/anki-field-templates-upgrade-v4.handlebars b/ext/bg/data/anki-field-templates-upgrade-v4.handlebars index a16b5b68..dc88395a 100644 --- a/ext/bg/data/anki-field-templates-upgrade-v4.handlebars +++ b/ext/bg/data/anki-field-templates-upgrade-v4.handlebars @@ -3,3 +3,7 @@ {{~/if~}} {{/inline}} + +{{#*inline "clipboard-text"}} + {{~#if definition.clipboardText~}}{{definition.clipboardText}}{{~/if~}} +{{/inline}} -- cgit v1.2.3