diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-09-26 13:45:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-26 13:45:48 -0400 |
commit | cab5daa22e986fdf0c71a370ebd459efa0a13a61 (patch) | |
tree | 1c6b4cbeb783e528e3190bcd4d52b5b6b2e9be72 /ext/bg/data/anki-field-templates-upgrade-v4.handlebars | |
parent | d27349207dc493e6d1e035c2c5606943c990f02f (diff) |
Add clipboard-text Anki field (#863)
* Add clipboard-text anki field
* Add markers
* Update clipboard injection
Diffstat (limited to 'ext/bg/data/anki-field-templates-upgrade-v4.handlebars')
-rw-r--r-- | ext/bg/data/anki-field-templates-upgrade-v4.handlebars | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ <img src="{{definition.clipboardImageFileName}}" /> {{~/if~}} {{/inline}} + +{{#*inline "clipboard-text"}} + {{~#if definition.clipboardText~}}{{definition.clipboardText}}{{~/if~}} +{{/inline}} |