feat(editor): align selection popup and all editor control elements styling with Reader #81
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user