diff options
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r-- | ext/bg/js/options.js | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js index ad5d47b6..2089cc53 100644 --- a/ext/bg/js/options.js +++ b/ext/bg/js/options.js @@ -350,8 +350,33 @@ function ankiFieldsPopulate(element, options) { } const markers = { - 'terms': ['audio', 'dictionary', 'expression', 'furigana', 'glossary', 'reading', 'sentence', 'tags', 'url'], - 'kanji': ['character', 'dictionary', 'glossary', 'kunyomi', 'onyomi', 'sentence', 'tags', 'url'] + 'terms': [ + 'audio', + 'cloze-body', + 'cloze-prefix', + 'cloze-suffix', + 'dictionary', + 'expression', + 'furigana', + 'glossary', + 'reading', + 'sentence', + 'tags', + 'url' + ], + 'kanji': [ + 'character', + 'cloze-body', + 'cloze-prefix', + 'cloze-suffix', + 'dictionary', + 'glossary', + 'kunyomi', + 'onyomi', + 'sentence', + 'tags', + 'url' + ] }[tabId] || {}; return instAnki().getModelFieldNames(modelName).then(names => { |