From e24075e1a91ab8b58bb5836cf7abcefae5cbf8c3 Mon Sep 17 00:00:00 2001 From: James Maa Date: Mon, 10 Jun 2024 10:59:54 -0700 Subject: Add context menu interface for Yomitan (#1028) * --wip-- [skip ci] * Draft * Remove weird code * Use existing API instead of dulpicating * Small improvements * remove console.log * remove console.log * Add setting for contextMenu * Fix test * Address comments * Add option-util upgrade * fix option-utils --- ext/data/schemas/options-schema.json | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ext/data/schemas') diff --git a/ext/data/schemas/options-schema.json b/ext/data/schemas/options-schema.json index 5db4c087..1bbdf183 100644 --- a/ext/data/schemas/options-schema.json +++ b/ext/data/schemas/options-schema.json @@ -99,6 +99,7 @@ "popupScaleRelativeToPageZoom", "popupScaleRelativeToVisualViewport", "showGuide", + "enableContextMenuScanSelected", "compactTags", "glossaryLayoutMode", "mainDictionary", @@ -206,6 +207,10 @@ "type": "boolean", "default": true }, + "enableContextMenuScanSelected": { + "type": "boolean", + "default": true + }, "compactTags": { "type": "boolean", "default": false -- cgit v1.2.3