从版本 1.1 >
shi chuck编辑
在2019/08/28 17:20上
到版本
shi chuck编辑
在2019/08/30 09:45上
>
修改评论 该版本没有评论

Summary

Details

Page properties
标题
... ... @@ -1,1 +1,1 @@
1 -Main
1 +令狐充欢迎您的到来
... ... @@ -1,1 +1,0 @@
1 -Main.WebHome
Content
... ... @@ -1,1 +1,42 @@
1 -第一页
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 +
15 += 令狐充产品运维知识库 =
16 +
17 +这里可以管理内里和知识,包括:产品支持,平台,文档,运维等。便于团队合作。
18 +
19 +
20 += The basics =
21 +
22 +To make the most out of your wiki, log-in and:
23 +
24 +Use the {{velocity}}$services.icon.render('pencil'){{/velocity}} button above to //edit// this page and start customizing your wiki to your needs.
25 +
26 +Use the {{velocity}}$services.icon.render('add'){{/velocity}} button above to //add// more pages to your wiki and create the //hierarchy// that best organizes your content.
27 +
28 +Use the {{velocity}}$services.icon.render('home'){{/velocity}} breadcrumbs located above the title to //navigate// inside your pages. It's easy to get lost in a big wiki without them.
29 +
30 +You can also use the [[Sandbox>>Sandbox.WebHome]] for more demo content and generally a place to experiment with your wiki's features.
31 +
32 +{{box}}
33 +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}}.
34 +{{/box}}
35 +
36 +(% class="row" %)
37 +(((
38 +(% class="col-xs-12 col-sm-6" %)
39 +(((
40 += =
41 +)))
42 +)))
XWiki.StyleSheetExtension[0]
缓存策略
... ... @@ -1,0 +1,1 @@
1 +long
代码
... ... @@ -1,0 +1,5 @@
1 +.floatinginfobox iframe {
2 + border: 0;
3 + height: 169px;
4 + width: 100%;
5 +}
Content Type
... ... @@ -1,0 +1,1 @@
1 +CSS
使用该扩展
... ... @@ -1,0 +1,1 @@
1 +currentPage