从版本< 5.2 >
shi chuck编辑
在2019/09/02 20:28上
到版本
shi chuck编辑
在2019/09/02 14:40上
< >
修改评论 该版本没有评论

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,21 @@
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}}
14 +
1 1  = =
2 2  
3 3  
4 -这里可以管理产品和知识,包括:产品支持,平台,文档,运维等。便于团队合作。您也可以点此访问[[令狐充官网>>http://www.linghuchongtech.com]]。
18 +这里可以管理产品和知识,包括:产品支持,平台,文档,运维等。便于团队合作。
5 5  
6 6  = The basics =
7 7