summaryrefslogtreecommitdiff
path: root/ext/js/pages/settings/anki-controller.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-07-07 20:00:30 -0400
committerGitHub <noreply@github.com>2021-07-07 20:00:30 -0400
commit315dc425e489dc96c2f2d4e13b500105d724ec52 (patch)
tree380f1f793b158d5a7652dd08fa0cd10d7378679f /ext/js/pages/settings/anki-controller.js
parent9935e154f1d2d9881c636b9a93f9d31b04621287 (diff)
Anki card selected text (#1809)
* Add support for injecting the text selection into Anki cards * Add selection-text * Upgrade to add {selection-text} * Update descriptions * Update test data
Diffstat (limited to 'ext/js/pages/settings/anki-controller.js')
-rw-r--r--ext/js/pages/settings/anki-controller.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/js/pages/settings/anki-controller.js b/ext/js/pages/settings/anki-controller.js
index 28bb21a3..b98de1b6 100644
--- a/ext/js/pages/settings/anki-controller.js
+++ b/ext/js/pages/settings/anki-controller.js
@@ -102,6 +102,7 @@ class AnkiController {
'reading',
'screenshot',
'search-query',
+ 'selection-text',
'sentence',
'tags',
'url'
@@ -121,6 +122,7 @@ class AnkiController {
'onyomi',
'screenshot',
'search-query',
+ 'selection-text',
'sentence',
'stroke-count',
'tags',