feat(editor): align selection popup and all editor control elements styling with Reader #81
@@ -32,8 +32,8 @@ export async function initEditor(elementId, dotNetHelper, initialMarkdown) {
|
||||
try {
|
||||
// Condition 2: Prevent FOUC by loading stylesheets before instantiating the editor
|
||||
await Promise.all([
|
||||
injectStylesheet('https://esm.sh/@milkdown/crepe/theme/common/style.css'),
|
||||
injectStylesheet('https://esm.sh/@milkdown/crepe/theme/frame.css')
|
||||
injectStylesheet('https://esm.sh/@milkdown/crepe/lib/theme/common/style.css'),
|
||||
injectStylesheet('https://esm.sh/@milkdown/crepe/lib/theme/frame.css')
|
||||
]);
|
||||
|
||||
// Dynamically import the Crepe ESM module
|
||||
|
||||
Reference in New Issue
Block a user