diff --git a/apps/documenteditor/main/index.html.deploy b/apps/documenteditor/main/index.html.deploy index 5f0fdbec31..4101dae9e2 100644 --- a/apps/documenteditor/main/index.html.deploy +++ b/apps/documenteditor/main/index.html.deploy @@ -201,6 +201,7 @@ window.frameEditorId = params["frameEditorId"]; if ( window.AscDesktopEditor ) { + window.desktop = window.AscDesktopEditor; window.on_native_message = function (cmd, param) { !window.native_message_cmd && (window.native_message_cmd = []); window.native_message_cmd[cmd] = param; @@ -215,6 +216,13 @@