<
From version < 17.1 >
edited by Richard Johnson
on 2020/08/21 14:09
To version < 16.1 >
edited by Richard Johnson
on 2020/08/21 14:09
>
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -1,5 +1,17 @@
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')
10 +<$iframe src="https://www.youtube.com/embed/9QTWrZ7OfzI" title="YouTube video of XWiki" role="presentation" allowfullscreen></$iframe>
11 +{{/html}}
12 +{{/velocity}}
13 +{{/box}}
1 1  
2 -
3 3  Wikis here:
4 4  
5 5  * (((