От версии < 21.1 >
отредактировано TPVAdmin
на 2023/08/04 14:21
К версии < 20.1 >
отредактировано TPVAdmin
на 2022/03/16 15:16
< >
Изменить комментарий: Install extension [org.xwiki.platform:xwiki-platform-distribution-flavor-common/11.10.12]

Комментарий

Подробности

Свойства страницы
Содержимое
... ... @@ -1,16 +1,16 @@
1 -##{{box cssClass="floatinginfobox"}}
2 -##{{velocity}}
3 -## {{html clean="false"}}
1 +{{box cssClass="floatinginfobox"}}
2 +{{velocity}}
3 +{{html clean="false"}}
4 4  ## Chrome's XSS Auditor blocks the preview action if:
5 5  ## * the submitted content has an iframe with an external URL
6 6  ## * the preview action displays the submitted iframe
7 7  ## The workaround is to make sure the submitted content (the macro markers) don't match the preview HTML.
8 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-видео о XWiki" role="presentation" allowfullscreen></$iframe>
9 +#set ($iframe = 'iframe')
10 +<$iframe src="https://www.youtube.com/embed/9QTWrZ7OfzI" title="YouTube-видео о XWiki" role="presentation" allowfullscreen></$iframe>
11 11  
12 -##{{/html}}
13 -##{{/velocity}}
12 +{{/html}}
13 +{{/velocity}}
14 14  {{/box}}
15 15  
16 16  = Добро пожаловать в вашу вики =