从版本 1.1 >
xu yang编辑
在2021/11/29 03:09上
到版本
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,13 +30,11 @@
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}}
34 -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}}.
35 -{{/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}}
36 36  
37 -(%class="row"%)
51 +(% class="row" %)
38 38  (((
39 -(%class="col-xs-12 col-sm-6"%)
53 +(% class="col-xs-12 col-sm-6" %)
40 40  (((
41 41  = Extend your wiki =
42 42  
... ... @@ -45,7 +45,7 @@
45 45  To browse through the 900+ community contributed extensions available for XWiki, head over to the [[Extensions Repository>>http://extensions.xwiki.org]].
46 46  )))
47 47  
48 -(%class="col-xs-12 col-sm-6"%)
62 +(% class="col-xs-12 col-sm-6" %)
49 49  (((
50 50  = Create your application =
51 51