.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<head>
|
<head>
|
||||||
<script>
|
<script>
|
||||||
var docframe = document.getElementById("docFrame").contentWindow.document;
|
var docframe = document.getElementById("docFrame").contentWindow.document.body;
|
||||||
var targetContent = docframe.querySelector(".file-view");
|
var targetContent = docframe.querySelector(".file-view");
|
||||||
console.log(docframe);
|
console.log(docframe);
|
||||||
docframe.getElementsByTagName('body')[0].innerHTML = targetContent.innerHTML;
|
docframe.getElementsByTagName('body')[0].innerHTML = targetContent.innerHTML;
|
||||||
|
|||||||
Reference in New Issue
Block a user