diff --git a/application/cmdbabstract.class.inc.php b/application/cmdbabstract.class.inc.php index d658c0e21..2ea89861c 100644 --- a/application/cmdbabstract.class.inc.php +++ b/application/cmdbabstract.class.inc.php @@ -2015,6 +2015,7 @@ EOF $aConfig = utils::GetCkeditorPref(); $aConfig['placeholder'] = Dict::S('UI:CaseLogTypeYourTextHere'); // - Mentions + // TODO 3.0.0: Should this be in the utils::GetCkeditorPref() as well? (Note that if we do so, we should warn that the endpoints are defaults only and should be overloaded by other GUIs such as the end-users portal) $sMentionsEndpoint = utils::GetAbsoluteUrlAppRoot().'pages/ajax.render.php?operation=cke_mentions&target_class=Person&needle={encodedQuery}'; $sMentionItemUrl = utils::GetAbsoluteUrlAppRoot().'pages/UI.php?operation=details&class=Person&id={id}'; $sMentionItemTemplate = << $sLanguage, + $aDefaultConf = array( + 'language'=> $sLanguage, 'contentsLanguage' => $sLanguage, - 'extraPlugins' => 'disabler,codesnippet', + 'extraPlugins' => 'disabler,codesnippet,mentions', ); $aRichTextConfig = json_decode(appUserPreferences::GetPref('richtext_config', '{}'), true);