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 12.1
edited by Emre Yontem
on 2021/11/29 22:07
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,20 @@
1 +{{box}}{{velocity}}
2 +{{html}}
3 +## Chrome's XSS Auditor blocks the preview action if:
4 +## * the submitted content has an iframe with an external URL
5 +## * the preview action displays the submitted iframe
6 +## The workaround is to make sure the submitted content (the macro markers) don't match the preview HTML.
7 +## See XWIKI-14818: Preview triggers ERR_BLOCKED_BY_XSS_AUDITOR in Chrome
8 +#set ($iframe = 'iframe')
1 1  
10 +<iframe src="https://miro.com/app/live-embed/o9J_lhC_62Y=/?moveToViewport=-2268,-5209,26424,12895" frameBorder="0" scrolling="no" width="800" height="400" 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>
4 4  
13 +{{/html}}
14 +{{/velocity}}{{/box}}
15 +
5 5  
6 6  
18 +
19 +
7 7