Changes for page MentionsMacro
Last modified by DecalogExploitation on 2026/05/13 14:31
From version 3.1
edited by DecalogExploitation
on 2026/05/13 14:31
on 2026/05/13 14:31
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-mentions-ui/17.10.8]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 - xwiki:XWiki.DecalogExploitation1 +XWiki.superadmin
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -62,10 +62,8 @@ 62 62 ckeditorPromise.done(function (ckeditor) { 63 63 function confMentions(name) { 64 64 return { 65 - dataCallback: function (options, callback) { 66 - // Remove the marker prefix and replace non-breaking space. 67 - const text = options.query.substring(1).replaceAll('\u00A0', ' '); 68 - search(text, callback); 65 + feed: function (opts, callback) { 66 + search(opts.query, callback); 69 69 }, 70 70 marker: '@', 71 71 minChars: 0,
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -1,14 +1,11 @@ 1 1 .xwiki-mention { 2 2 background-color: $services.mentions.mentionsColor; 3 3 border-radius: 8px; 4 - padding: 1px 5px 1px 5px; 5 - border: 1px solid var(--dropdown-divider-bg); 4 + padding: 2px 5px 2px 5px; 6 6 } 7 7 8 8 .xwiki-mention.user.self { 9 - background-color: var(--mentions-self-bg); 10 - color: var(--mentions-self-color); 11 - border: 0; 8 + background-color: $services.mentions.selfMentionsColor; 12 12 } 13 13 14 14 .xwiki-mention.removed {