From c6ffe1993eaa2f4376a0a87391bf1b43bb1867bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Jasi=C5=84ski?= Date: Mon, 8 Jun 2026 14:23:02 +0200 Subject: [PATCH] fix: correct frame theme CSS URL path in milkdownWrapper.js --- src/NexusReader.UI.Shared/wwwroot/js/milkdownWrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NexusReader.UI.Shared/wwwroot/js/milkdownWrapper.js b/src/NexusReader.UI.Shared/wwwroot/js/milkdownWrapper.js index 5ac1e9e..30335bd 100644 --- a/src/NexusReader.UI.Shared/wwwroot/js/milkdownWrapper.js +++ b/src/NexusReader.UI.Shared/wwwroot/js/milkdownWrapper.js @@ -33,7 +33,7 @@ export async function initEditor(elementId, dotNetHelper, initialMarkdown) { // Condition 2: Prevent FOUC by loading stylesheets before instantiating the editor await Promise.all([ injectStylesheet('https://esm.sh/@milkdown/crepe/lib/theme/common/style.css'), - injectStylesheet('https://esm.sh/@milkdown/crepe/lib/theme/frame.css') + injectStylesheet('https://esm.sh/@milkdown/crepe/lib/theme/frame/style.css') ]); // Dynamically import the Crepe ESM module