From db9aaba929e976c7a51175a07fd07d056832c2a6 Mon Sep 17 00:00:00 2001 From: Aristotelis <5459332+glutanimate@users.noreply.github.com> Date: Thu, 18 Jan 2024 01:09:06 +0100 Subject: [PATCH] Make tags and tag suggestions able to be styled by add-ons (#2941) * Expose tag name to add-ons via data attribute * Expose autocomplete items to add-ons as data attributes * Use common data-addon* prefix for attributes --- ts/tag-editor/AutocompleteItem.svelte | 2 ++ ts/tag-editor/Tag.svelte | 2 ++ ts/tag-editor/TagWithTooltip.svelte | 9 ++++++++- ts/tag-editor/WithAutocomplete.svelte | 2 ++ 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/ts/tag-editor/AutocompleteItem.svelte b/ts/tag-editor/AutocompleteItem.svelte index 0d7bdb87f..f29936cae 100644 --- a/ts/tag-editor/AutocompleteItem.svelte +++ b/ts/tag-editor/AutocompleteItem.svelte @@ -5,6 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html