From 1dcfbf6ba6516d05f756d26bf84049d94776ab14 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Thu, 14 Jan 2021 22:42:11 -0500 Subject: Support suspending new anki cards (#1240) * Add new option: anki.suspendNewCards * Update Anki APIs * Suspend card based on options * Add setting * Disable wrap for toggle property --- ext/bg/data/options-schema.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ext/bg/data') diff --git a/ext/bg/data/options-schema.json b/ext/bg/data/options-schema.json index 44bff10a..8c00d455 100644 --- a/ext/bg/data/options-schema.json +++ b/ext/bg/data/options-schema.json @@ -739,7 +739,8 @@ "kanji", "duplicateScope", "checkForDuplicates", - "fieldTemplates" + "fieldTemplates", + "suspendNewCards" ], "properties": { "enable": { @@ -841,6 +842,10 @@ "fieldTemplates": { "type": ["string", "null"], "default": null + }, + "suspendNewCards": { + "type": "boolean", + "default": false } } }, -- cgit v1.2.3