1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 22:54:11 +00:00

Update onlyoffice_file_view_react.html (#7757)

This commit is contained in:
Ranjiwei
2025-04-22 16:00:18 +08:00
committed by GitHub
parent 52e020e227
commit 6874c2a40c

View File

@@ -145,7 +145,11 @@
{% endif %} {% endif %}
} }
}; };
var docEditor = new DocsAPI.DocEditor("placeholder", config);
window.onload = function () {
var docEditor = new DocsAPI.DocEditor("placeholder", config);
};
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
var SEAFILE_GLOBAL = { var SEAFILE_GLOBAL = {