Changes for page MentionsMacro
Last modified by Ruud de Jong on 2024/07/13 21:59
From version 2.1
edited by Bart Vastenhouw
on 2022/02/03 12:13
on 2022/02/03 12:13
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-mentions-ui/14.0]
To version 1.1
edited by Bart Vastenhouw
on 2021/09/09 11:26
on 2021/09/09 11:26
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-mentions-ui/13.7]
Summary
-
Objects (2 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -82,7 +82,7 @@ 82 82 editor.once('afterInsertHtml', function () { 83 83 editor.execCommand('xwiki-macro-insert', { 84 84 name: 'mention', 85 - inline: 'enforce',85 + inline: true, 86 86 parameters: { 87 87 reference: param.id, 88 88 style: 'FULL_NAME', ... ... @@ -98,7 +98,7 @@ 98 98 } 99 99 100 100 function updateConf(config, name) { 101 - const newConf = config || {};101 + const newConf = config; 102 102 newConf.mentions = newConf.mentions || []; 103 103 newConf.mentions.push(confMentions(name)); 104 104 return newConf;
- XWiki.WikiMacroClass[0]
-
- Default category
-
... ... @@ -1,1 +1,0 @@ 1 -Notifications - Macro description
-
... ... @@ -1,1 +1,1 @@ 1 -Insert sa user mention.1 +Insert a user mention.