mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
🐛 Add the 'pattern' parameter with the unicode Cyrillic block regex to the CKEditor mentions config.
This commit is contained in:
@@ -2654,10 +2654,11 @@ HTML;
|
||||
$aDefaultConf['mentions'][] = [
|
||||
'feed' => $sMentionEndpoint,
|
||||
'marker' => $sMentionMarker,
|
||||
'minChars' => MetaModel::GetConfig()->Get('min_autocomplete_chars'),
|
||||
'minChars' => $iMinChars = MetaModel::GetConfig()->Get('min_autocomplete_chars'),
|
||||
'itemTemplate' => $sMentionItemTemplate,
|
||||
'outputTemplate' => $sMentionOutputTemplate,
|
||||
'throttle' => 500,
|
||||
'pattern' => "\\{$sMentionMarker}[_a-zA-Z0-9À-žЀ-Ӿ]{{$iMinChars},}$"
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user