diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-03-28 20:49:26 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-03-28 20:49:26 -0700 |
commit | f15f30019b50e84844375e98dc3734d6463ee2c5 (patch) | |
tree | b4e6f8fe1da154edb8804c501c86c1006008162f /ext/bg/js/options.js | |
parent | 9de0d34af398b385e140a365a500ff20dda45a7a (diff) |
version bump, cloze support1.1.9
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 => { |