|
8 | 8 | container = documenteditorElement.ej2_instances[0];
|
9 | 9 | documenteditor = container.documentEditor;
|
10 | 10 | let mentionData = [
|
11 |
| - { "Name": "Selma Rose", "Eimg": "3", "EmailId": "selma@mycompany.com" }, |
12 |
| - { "Name": "Russo Kay", "Eimg": "8", "EmailId": "russo@mycompany.com" }, |
13 |
| - { "Name": "Camden Kate", "Eimg": "9", "EmailId": "camden@mycompany.com" }, |
14 |
| - { "Name": "Mary Kate", "Eimg": "4", "EmailId": "marry@mycompany.com" }, |
15 |
| - { "Name": "Ursula Ann", "Eimg": "2", "EmailId": "ursula@mycompany.com" }, |
16 |
| - { "Name": "Margaret", "Eimg": "5", "EmailId": "margaret@mycompany.com" }, |
17 |
| - { "Name": "Laura Grace", "Eimg": "6", "EmailId": "laura@mycompany.com" }, |
18 |
| - { "Name": "Robert", "Eimg": "8", "EmailId": "robert@mycompany.com" }, |
19 |
| - { "Name": "Albert", "Eimg": "9", "EmailId": "albert@mycompany.com" }, |
20 |
| - { "Name": "Michale", "Eimg": "10", "EmailId": "michale@mycompany.com" }, |
21 |
| - { "Name": "Andrew James", "Eimg": "7", "EmailId": "james@mycompany.com" }, |
22 |
| - { "Name": "Rosalie", "Eimg": "4", "EmailId": "rosalie@mycompany.com" }, |
23 |
| - { "Name": "Stella Ruth", "Eimg": "2", "EmailId": "stella@mycompany.com" }, |
24 |
| - { "Name": "Richard Rose", "Eimg": "10", "EmailId": "richard@mycompany.com" }, |
25 |
| - { "Name": "Gabrielle", "Eimg": "3", "EmailId": "gabrielle@mycompany.com" }, |
26 |
| - { "Name": "Thomas", "Eimg": "7", "EmailId": "thomas@mycompany.com" }, |
27 |
| - { "Name": "Charles Danny", "Eimg": "8", "EmailId": "charles@mycompany.com" }, |
28 |
| - { "Name": "Daniel", "Eimg": "10", "EmailId": "daniel@mycompany.com" }, |
29 |
| - { "Name": "Matthew", "Eimg": "7", "EmailId": "matthew@mycompany.com" }, |
30 |
| - { "Name": "Donald Krish", "Eimg": "9", "EmailId": "donald@mycompany.com" }, |
31 |
| - { "Name": "Yohana", "Eimg": "1", "EmailId": "yohana@mycompany.com" }, |
32 |
| - { "Name": "Kevin Paul", "Eimg": "10", "EmailId": "kevin@mycompany.com" }, |
33 |
| - { "Name": "Andrew Fuller", "Eimg": "3", "EmailId": "andrew@mycompany.com"} |
| 11 | + { "Name": "Mary Kate", "EmailId": "marry@company.com" }, |
| 12 | + { "Name": "Andrew James", "EmailId": "james@company.com" }, |
| 13 | + { "Name": "Andrew Fuller", "EmailId": "andrew@company.com"} |
34 | 14 | ];
|
35 | 15 | container.documentEditorSettings.mentionSettings = { dataSource: mentionData, fields: { text: 'Name' }};
|
36 | 16 | }
|
|
0 commit comments