Changes for page FrameWork Design v0

Last modified by Emre Yontem on 2022/06/08 09:17

From version 7.1
edited by Emre Yontem
on 2021/11/29 22:03
Change comment: There is no comment for this version
To version 5.1
edited by Emre Yontem
on 2021/11/29 22:00
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,18 @@
1 +{{box cssClass="floatinginfobox"}}
2 +{{velocity}}
3 +{{html clean="false"}}
4 +## Chrome's XSS Auditor blocks the preview action if:
5 +## * the submitted content has an iframe with an external URL
6 +## * the preview action displays the submitted iframe
7 +## The workaround is to make sure the submitted content (the macro markers) don't match the preview HTML.
8 +## See XWIKI-14818: Preview triggers ERR_BLOCKED_BY_XSS_AUDITOR in Chrome
9 +#set ($iframe = 'iframe')
1 1  
11 +<iframe width="560" height="315" src="https://miro.com/app/board/o9J_lhC_62Y=/?invite_link_id=777160210564" title="Hello Framework" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
2 2  
3 -<iframe width="768" height="432" src="https://miro.com/app/live-embed/o9J_lhC_62Y=/?moveToViewport=-2268,-5209,26424,12895" frameBorder="0" scrolling="no" allowFullScreen></iframe>
13 +{{/html}}
14 +{{/velocity}}
15 +{{/box}}
4 4  
5 5  
6 6