From 298f29c0edc21238ccc0a0c7981d44bb0c5ec86b Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Wed, 27 Jul 2022 10:22:15 +0200 Subject: [PATCH] Add example on how to remove a tag --- .../Json/QuestionableTagRenderingConfigJson.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Models/ThemeConfig/Json/QuestionableTagRenderingConfigJson.ts b/Models/ThemeConfig/Json/QuestionableTagRenderingConfigJson.ts index 963f67e0ad..df83ea3f4c 100644 --- a/Models/ThemeConfig/Json/QuestionableTagRenderingConfigJson.ts +++ b/Models/ThemeConfig/Json/QuestionableTagRenderingConfigJson.ts @@ -102,7 +102,17 @@ export interface MappingConfigJson { /** * If chosen as answer, these tags will be applied as well onto the object. - * Not compatible with multiAnswer + * Not compatible with multiAnswer. + * + * This can be used e.g. to erase other keys which indicate the 'not' value: + *```json + * { + * "if": "crossing:marking=rainbow", + * "then": "This is a rainbow crossing", + * "addExtraTags": "not:crossing:marking=" + * } + * ``` + * */ addExtraTags?: string[]