Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 2b3b3bf

Browse files
authored
Support richtext rendering for board card metadata (#995)
1 parent 643b994 commit 2b3b3bf

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/ui/components/CardMetadata/Tags.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
</script>
1313

1414
{#if field.type === DataFieldType.String && field.repeated && Array.isArray(value)}
15-
<TagList values={value || []} />
15+
<TagList richText={field.typeConfig?.richText ?? false} values={value || []} />
1616
{/if}

src/ui/views/Table/components/DataGrid/GridCell/GridListCell/RichTextTag.svelte renamed to src/ui/components/TagList/RichTextTag.svelte

File renamed without changes.

src/ui/components/TagList/TagList.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
import { app } from "src/lib/stores/obsidian";
1010
import { InputDialogModal } from "src/ui/modals/inputDialog";
11-
import RichTextTag from "src/ui/views/Table/components/DataGrid/GridCell/GridListCell/RichTextTag.svelte";
11+
import RichTextTag from "src/ui/components/TagList/RichTextTag.svelte";
1212
1313
export let values: Optional<DataValue>[];
1414
export let richText: boolean = false;

0 commit comments

Comments
 (0)