diff --git a/ts/editor/index_wrapper.ts b/ts/editor/index_wrapper.ts index 13b2ec606..6c0ec80af 100644 --- a/ts/editor/index_wrapper.ts +++ b/ts/editor/index_wrapper.ts @@ -6,3 +6,6 @@ import * as globals from "./index"; for (const key in globals) { window[key] = globals[key]; } + +// but also export as window.anki +window["anki"] = globals;