From 8d294bf79487f739eb240ff8d91556854e9a01a7 Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Mon, 20 Jan 2025 21:51:13 -0500 Subject: [PATCH] [ROMM-1482] Display game summary with mdeditor --- frontend/src/components/Details/Info/GameInfo.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/Details/Info/GameInfo.vue b/frontend/src/components/Details/Info/GameInfo.vue index 9e79c8220..6232608bf 100644 --- a/frontend/src/components/Details/Info/GameInfo.vue +++ b/frontend/src/components/Details/Info/GameInfo.vue @@ -6,13 +6,15 @@ import type { DetailedRom } from "@/stores/roms"; import { storeToRefs } from "pinia"; import { ref } from "vue"; import { useRouter } from "vue-router"; -import { useDisplay } from "vuetify"; +import { useDisplay, useTheme } from "vuetify"; import { useI18n } from "vue-i18n"; +import { MdPreview } from "md-editor-v3"; // Props const { t } = useI18n(); const props = defineProps<{ rom: DetailedRom }>(); const { xs } = useDisplay(); +const theme = useTheme(); const show = ref(false); const carousel = ref(0); const router = useRouter(); @@ -119,7 +121,13 @@ function onFilterClick(filter: FilterType, value: string) { - {{ rom.summary }} +