csharp: add mentions

This commit is contained in:
metoou
2021-05-13 13:04:53 +03:00
parent b6b980de92
commit 0392ffbc9a
3 changed files with 37 additions and 0 deletions

View File

@ -66,6 +66,7 @@ namespace OnlineEditorsExample
protected string InsertImageConfig { get; private set; }
protected string compareFileData { get; private set; }
protected string dataMailMergeRecipients { get; private set; }
protected string users { get; private set; }
protected string documentType { get { return _Default.DocumentType(FileName); } }
// get callback url
@ -269,6 +270,9 @@ namespace OnlineEditorsExample
Dictionary<string, object> mailMergeConfig = GetMailMergeConfig();
dataMailMergeRecipients = jss.Serialize(mailMergeConfig);
// get users for mentions
List<Dictionary<string, object>> usersData = Users.getUsersForMentions(user.id);
users = jss.Serialize(usersData);
Dictionary<string, object> hist;
Dictionary<string, object> histData;