diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-07-07 20:00:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-07 20:00:30 -0400 |
commit | 315dc425e489dc96c2f2d4e13b500105d724ec52 (patch) | |
tree | 380f1f793b158d5a7652dd08fa0cd10d7378679f /test/test-anki-note-builder.js | |
parent | 9935e154f1d2d9881c636b9a93f9d31b04621287 (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 'test/test-anki-note-builder.js')
-rw-r--r-- | test/test-anki-note-builder.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-anki-note-builder.js b/test/test-anki-note-builder.js index 607388fc..af9cd061 100644 --- a/test/test-anki-note-builder.js +++ b/test/test-anki-note-builder.js @@ -158,6 +158,7 @@ function getFieldMarkers(type) { 'reading', 'screenshot', 'search-query', + 'selection-text', 'sentence', 'tags', 'url' @@ -177,6 +178,7 @@ function getFieldMarkers(type) { 'onyomi', 'screenshot', 'search-query', + 'selection-text', 'sentence', 'stroke-count', 'tags', |