1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-27 11:01:14 +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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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