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

From version 1.1
edited by Emre Yontem
on 2021/12/01 09:09
Change comment: There is no comment for this version
To version 2.1
edited by Emre Yontem
on 2021/12/01 09:10
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,1 +1,18 @@
1 -<iframe src="https://embed.kumu.io/0c4f231af1dfc5f1f54b468790a76724" width="940" height="600" frameborder="0"></iframe>
1 +
2 +{{box}}{{velocity}}
3 +{{html}}
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 +
11 +
12 +<iframe src="https://embed.kumu.io/0c4f231af1dfc5f1f54b468790a76724" width="1200" height="700" frameborder="0"></iframe>
13 +
14 +{{/html}}
15 +{{/velocity}}{{/box}}
16 +
17 +
18 +