fix: correct frame theme CSS URL path in milkdownWrapper.js

This commit is contained in:
2026-06-08 14:23:02 +02:00
parent 30adb3c33f
commit c6ffe1993e
@@ -33,7 +33,7 @@ export async function initEditor(elementId, dotNetHelper, initialMarkdown) {
// Condition 2: Prevent FOUC by loading stylesheets before instantiating the editor // Condition 2: Prevent FOUC by loading stylesheets before instantiating the editor
await Promise.all([ await Promise.all([
injectStylesheet('https://esm.sh/@milkdown/crepe/lib/theme/common/style.css'), 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 // Dynamically import the Crepe ESM module