Änderungen von Dokument MentionsMacro

Zuletzt geändert von xwikiadmin am 2024/06/24 14:17

Von Version 2.1
bearbeitet von xwikiadmin
am 2022/01/20 11:28
Änderungskommentar: Install extension [org.xwiki.platform:xwiki-platform-mentions-ui/13.10.2]
Auf Version 1.1
bearbeitet von xwikiadmin
am 2021/11/10 09:01
Änderungskommentar: Install extension [org.xwiki.platform:xwiki-platform-mentions-ui/13.9]

Zusammenfassung

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;