feat(editor): align selection popup and all editor control elements styling with Reader #81

Merged
mjasin merged 14 commits from feature/milkdown-integration into develop 2026-06-11 18:07:53 +00:00
Showing only changes of commit 5d67bbf88b - Show all commits
@@ -32,8 +32,8 @@ export async function initEditor(elementId, dotNetHelper, initialMarkdown) {
try { try {
// 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/theme/common/style.css'), injectStylesheet('https://esm.sh/@milkdown/crepe/lib/theme/common/style.css'),
injectStylesheet('https://esm.sh/@milkdown/crepe/theme/frame.css') injectStylesheet('https://esm.sh/@milkdown/crepe/lib/theme/frame.css')
]); ]);
// Dynamically import the Crepe ESM module // Dynamically import the Crepe ESM module