admin管理员组文章数量:1023273
I have been trying to embed a website into a private page, and have tried out the "embed" and "iframe" tags, but as soon as I update the changes it redirects to the embedded site. I read more about the subject and found out that if I used the sandbox option, then I could prevent that from happening:
<iframe src="/" width="100%" height="650" name="disable-x-frame-options" sandbox="allow-forms allow-popups allow-pointer-lock allow-same-origin allow-scripts"></iframe>
Even though the page itself is stable and the iframe is working perfectly, the editor keeps redirecting, too quick for me to make any further changes to it. Is there any way of preventing the page's editor from doing this?
I have been trying to embed a website into a private page, and have tried out the "embed" and "iframe" tags, but as soon as I update the changes it redirects to the embedded site. I read more about the subject and found out that if I used the sandbox option, then I could prevent that from happening:
<iframe src="/" width="100%" height="650" name="disable-x-frame-options" sandbox="allow-forms allow-popups allow-pointer-lock allow-same-origin allow-scripts"></iframe>
Even though the page itself is stable and the iframe is working perfectly, the editor keeps redirecting, too quick for me to make any further changes to it. Is there any way of preventing the page's editor from doing this?
本文标签: wp adminHow to prevent the editor from redirecting to website within iframe
版权声明:本文标题:wp admin - How to prevent the editor from redirecting to website within iframe? 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745523748a2154430.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论