Wiki source code of FrameWork Design v0
Version 4.1 by Emre Yontem on 2021/11/29 21:59
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
![]() |
1.1 | 1 | |
| 2 | |||
![]() |
4.1 | 3 | {{box cssClass="floatinginfobox"}} |
| 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') | ||
![]() |
1.1 | 12 | |
![]() |
4.1 | 13 | <iframe width="560" height="315" src="https://miro.com/app/board/o9J_lhC_62Y=/" title="Hello Framework" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> |
![]() |
1.1 | 14 | |
![]() |
4.1 | 15 | {{/html}} |
| 16 | {{/velocity}} | ||
| 17 | {{/box}} | ||
![]() |
1.1 | 18 | |
![]() |
4.1 | 19 | |
| 20 | |||
| 21 |
