<
从版本< 2.1 >
xu yang编辑
在2021/11/30 10:49上
到版本
xu yang编辑
在2021/11/30 10:59上
>
修改评论 该版本没有评论

Summary

Details

Page properties
Content
... ... @@ -1,3 +1,19 @@
1 +(((
2 +" class="xwiki-metadata-container">
3 +
4 +{{velocity}}
5 +{{html clean="false"}}
6 +## Chrome's XSS Auditor blocks the preview action if:
7 +## * the submitted content has an iframe with an external URL
8 +## * the preview action displays the submitted iframe
9 +## The workaround is to make sure the submitted content (the macro markers) don't match the preview HTML.
10 +## See XWIKI-14818: Preview triggers ERR_BLOCKED_BY_XSS_AUDITOR in Chrome
11 +#set ($iframe = 'iframe')
12 +<$iframe src="https://www.youtube.com/embed/9QTWrZ7OfzI" title="YouTube video of XWiki" role="presentation" allowfullscreen></$iframe>
13 +{{/html}}
14 +{{/velocity}}
15 +)))
16 +
1 1  {{box cssClass="floatinginfobox"}}
2 2  {{velocity}}
3 3  {{html clean="false"}}
... ... @@ -30,7 +30,7 @@
30 30  
31 31  You can also use the [[Sandbox>>Sandbox.WebHome]] for more demo content and generally a place to experiment with your wiki's features.
32 32  
33 - {{box}}Learn more on how to use XWiki with the {{velocity}}[[Getting Started Guide>>http://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/WebHome?version=$xwiki.version]]{{/velocity}}.{{/box}}
49 + " class="xwiki-metadata-container">Learn more on how to use XWiki with the .{{box}}Learn more on how to use XWiki with the {{velocity}}[[Getting Started Guide>>http://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/WebHome?version=$xwiki.version]]{{/velocity}}.{{/box}}
34 34  
35 35  (% class="row" %)
36 36  (((