We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfe006f commit d6b38afCopy full SHA for d6b38af
src/routes/tutorial/[slug]/Editor.svelte
@@ -48,7 +48,7 @@
48
import('$lib/client/monaco/monaco.js').then(({ monaco }) => {
49
if (destroyed) return;
50
instance = init(monaco, dark_mode);
51
-
+
52
document.fonts.ready.then(() => {
53
monaco.editor.remeasureFonts();
54
});
@@ -265,7 +265,7 @@
265
clearTimeout(remove_focus_timeout);
266
preserve_editor_focus = true;
267
}}
268
- on:focusout={(e) => {
+ on:focusout={() => {
269
// Heuristic: user did refocus themmselves if iframe_took_focus
270
// doesn't happen in the next few miliseconds. Needed
271
// because else navigations inside the iframe refocus the editor.
0 commit comments