mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-24 21:07:17 +00:00
committed by
GitHub
parent
ba2e878f1b
commit
31ab895abc
@@ -35,7 +35,7 @@ class FileContent extends React.Component {
|
||||
|
||||
return (
|
||||
<div className="file-view-content flex-1 p-0 border-0">
|
||||
<iframe title={fileName} id="office-frame" name="office_frame" className="d-none" allowFullScreen></iframe>
|
||||
<iframe title={fileName} id="office-frame" name="office_frame" className="d-none" allowFullScreen allow="clipboard-read *; clipboard-write *"></iframe>
|
||||
<form id="office-form" name="office_form" target="office_frame" action={actionURL} method="post">
|
||||
<input name="access_token" value={accessToken} type="hidden" />
|
||||
<input name="access_token_ttl" value={accessTokenTtl} type="hidden" />
|
||||
|
@@ -36,7 +36,7 @@
|
||||
<input name="access_token_ttl" value="{{access_token_ttl}}" type="hidden"/>
|
||||
</form>
|
||||
|
||||
<iframe id="office_frame" name="office_frame" class="hide" allowfullscreen ></iframe>
|
||||
<iframe id="office_frame" name="office_frame" class="hide" allowfullscreen allow="clipboard-read *; clipboard-write *"></iframe>
|
||||
|
||||
<script type="text/javascript" src="{% static "scripts/lib/jquery.min.js" %}"></script>
|
||||
<script type="text/javascript" src="{{ MEDIA_URL }}js/base.js?t=1536127546642"></script>
|
||||
|
Reference in New Issue
Block a user