Änderungen von Dokument Expand
Zuletzt geändert von Thorsten Seifert am 2026/03/05 08:39
Von Version 11.1
bearbeitet von Thorsten Seifert
am 2026/03/05 08:39
am 2026/03/05 08:39
Änderungskommentar:
Install extension [com.xwiki.pro:xwiki-pro-macros-ui/1.30.1]
Auf Version 9.1
bearbeitet von xwikiadmin
am 2026/03/05 08:03
am 2026/03/05 08:03
Änderungskommentar:
Migrated property [contentOrder] from class [XWiki.WikiMacroClass]
Zusammenfassung
-
Seiteneigenschaften (1 geändert, 0 hinzugefügt, 0 gelöscht)
-
Objekte (1 geändert, 0 hinzugefügt, 1 gelöscht)
Details
- Seiteneigenschaften
-
- Dokument-Autor
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. seifertt1 +XWiki.xwikiadmin
- XWiki.JavaScriptExtension[0]
-
- Pufferstrategie
-
... ... @@ -1,1 +1,0 @@ 1 -long - Code
-
... ... @@ -1,29 +1,0 @@ 1 -// The current versions of Safari don't bundle the latest version of WebKit, and because of this it lacks 2 -// a feature from the HTML standard where the details tag automatically expands when the URL fragment 3 -// targets an element inside it. Here is the WebKit bug report: https://bugs.webkit.org/show_bug.cgi?id=228843, 4 -// and we should follow it so we know when the fix reaches Safari. I also opened 5 -// https://github.com/xwikisas/xwiki-pro-macros/issues/682 on our side to keep track of the issue and avoid forgetting it. 6 -require(['jquery'], function ($) { 7 - var isSafari = navigator.vendor && navigator.vendor.includes('Apple'); 8 - 9 - function handleFragment() { 10 - let hash = window.location.hash; 11 - if (!hash) return; 12 - 13 - let target = $(hash); 14 - if (target.length === 0) return; 15 - 16 - target.parents("details").each(function () { 17 - this.open = true; 18 - }); 19 - 20 - target[0].scrollIntoView({ behavior: "auto", block: "start" }); 21 - } 22 - if (isSafari) { 23 - console.log("Applying Safari fragment workaround"); 24 - // On initial load 25 - $(document).ready(handleFragment); 26 - // On fragment updates 27 - $(window).on("hashchange", handleFragment); 28 - } 29 -}); - Inhalt parsen
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Benutze diese Erweiterung
-
... ... @@ -1,1 +1,0 @@ 1 -currentPage
- XWiki.WikiMacroClass[0]
-
- Makro-Code
-
... ... @@ -25,7 +25,6 @@ 25 25 #macro (executeMacro) 26 26 27 27 #set ($discard = $xwiki.ssx.use('Confluence.Macros.Expand')) 28 - #set ($discard = $xwiki.jsx.use('Confluence.Macros.Expand')) 29 29 #set ($title = $wikimacro.parameters.title) 30 30 #if ("$!title" == "") 31 31 #set ($title = $services.promacroexpand.getAutoTitle($wikimacro.content, $xwiki.currentContentSyntaxId))