<
From version < 15.1 >
edited by TerraIndex TerraIndex
on 2021/05/06 09:31
To version < 12.1 >
edited by TerraIndex TerraIndex
on 2021/04/30 12:19
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,12 +1,20 @@
1 + {{box cssClass="floatinginfobox"}}{{velocity}}
2 +{{html clean="false"}}
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')
9 +<$iframe src="https://www.youtube.com/watch?v=cv1mZQgjS0k&t=6s" title="YouTube video of XWiki" role="presentation" allowfullscreen></$iframe>
10 +{{/html}}
11 +{{/velocity}}{{/box}}
12 +
1 1  = Welcome to Terrapedia =
2 2  
3 -{{video url="https://www.youtube.com/watch?v=cv1mZQgjS0k&t=6s" width="30%"/}}
15 +{{notifications/}}
4 4  
5 -----
6 -
7 7  (% class="xform" %)
8 8  (((
9 -{{wikis/}}
10 -
11 11  
12 12  )))
TerraIndex
asd