Изменения документа FontAwesome
Редактировал(а) Давид Гавриков 2024/10/22 15:18
От версии 5.1
отредактировано Андрей Ганьков
на 2024/01/24 04:38
на 2024/01/24 04:38
Изменить комментарий:
Install extension [org.xwiki.platform:xwiki-platform-icon-fontawesome/15.10.5]
К версии 3.1
отредактировано Андрей Ганьков
на 2021/11/22 14:58
на 2021/11/22 14:58
Изменить комментарий:
Install extension [org.xwiki.platform:xwiki-platform-icon-fontawesome/13.9]
Сводка
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
-
Объекты (0 изменено, 2 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -1,8 +1,9 @@ 1 1 ## General settings 2 2 xwiki.iconset.type = font 3 -xwiki.iconset.css = $services.webjars.url('org.webjars:font-awesome', 'css/font-awesome.min.css') 4 -xwiki.iconset.render.wiki = {{html clean="false"}}<span class="fa fa-$icon" aria-hidden='true'></span>{{/html}} 5 -xwiki.iconset.render.html = <span class="fa fa-$icon" aria-hidden='true'></span> 3 +xwiki.iconset.ssx = IconThemes.FontAwesome 4 +xwiki.iconset.jsx = IconThemes.FontAwesome 5 +xwiki.iconset.render.wiki = {{html clean="false"}}<span class="fa fa-$icon"></span>{{/html}} 6 +xwiki.iconset.render.html = <span class="fa fa-$icon"></span> 6 6 xwiki.iconset.icon.cssClass = fa fa-$icon 7 7 8 8 ## XWiki Icon Set (see: http://design.xwiki.org/xwiki/bin/view/Proposal/XWiki+Icon+Set).
- XWiki.JavaScriptExtension[0]
-
- Политика кеширования
-
... ... @@ -1,0 +1,1 @@ 1 +long - Код
-
... ... @@ -1,0 +1,13 @@ 1 +// Sometimes IE8 loads the font *after* the rendering of the page so it does not display the icon correctly. 2 +// To fix this, we reload the stylesheet when we receive the 'document ready' event so that the browser recomputes 3 +// the display. Although, it does not solve everything (see https://jira.xwiki.org/browse/XWIKI-10813). 4 +require(['jquery'], function($) { 5 + // This hack concerns IE8 only 6 + if (navigator.userAgent.indexOf('MSIE 8.0') > -1) { 7 + $(function() { 8 + var link = $("link[href*='IconThemes/FontAwesome']"); 9 + link[0].href = link[0].href; 10 + }); 11 + } 12 +}); 13 + - Название
-
... ... @@ -1,0 +1,1 @@ 1 +IE8 fix - Разбор содержимого
-
... ... @@ -1,0 +1,1 @@ 1 +Нет - Использовать это расширение
-
... ... @@ -1,0 +1,1 @@ 1 +onDemand
- XWiki.StyleSheetExtension[0]
-
- Политика кеширования
-
... ... @@ -1,0 +1,1 @@ 1 +long - Код
-
... ... @@ -1,0 +1,1 @@ 1 +@import "$services.webjars.url('org.webjars:font-awesome', 'css/font-awesome.min.css')" - Название
-
... ... @@ -1,0 +1,1 @@ 1 +Font-Awesome CSS - Разбор содержимого
-
... ... @@ -1,0 +1,1 @@ 1 +Да - Использовать это расширение
-
... ... @@ -1,0 +1,1 @@ 1 +onDemand