You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cell selection allows users to programmatically select specific table cells within the Rich Text Editor. This is useful for highlighting or manipulating content inside tables without requiring manual user interaction.
@@ -90,6 +95,8 @@ The following example demonstrates how to select a table cell programmatically u
Copy file name to clipboardExpand all lines: ej2-javascript/rich-text-editor/smart-editing/mentions.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ By integrating the [Mention](https://ej2.syncfusion.com/documentation/mention/ge
15
15
16
16
## Setup and configuration
17
17
18
-
Use the [target](https://ej2.syncfusion.com/documentation/api/mention/#target) property of the Mention control to specify the `ID` of the content editable div element within the Rich Text Editor. When setting the target, make sure to append the suffix `_rte-edit-view` to the ID. This allows you to enable the Mention functionality within the Rich Text Editor, so that users can mention or tag other users or objects from the suggested list while editing the text.
18
+
Use the [target](https://ej2.syncfusion.com/documentation/api/mention#target) property of the Mention control to specify the `ID` of the content editable div element within the Rich Text Editor. When setting the target, make sure to append the suffix `_rte-edit-view` to the ID. This allows you to enable the Mention functionality within the Rich Text Editor, so that users can mention or tag other users or objects from the suggested list while editing the text.
19
19
20
20
## Using mentions
21
21
@@ -28,11 +28,11 @@ When the user types the `@` symbol followed by a character, the Rich Text Editor
28
28
29
29
### Minimum input length for Mention suggestions
30
30
31
-
You can control when the suggestion list appears by setting the [minLength](https://ej2.syncfusion.com/documentation/api/mention/#minlength) property in the Mention control. This property defines the minimum number of characters a user must type after the mention character (@) to trigger the search action. This is especially useful when working with large datasets, as it helps reduce unnecessary queries and improves performance.
31
+
You can control when the suggestion list appears by setting the [minLength](https://ej2.syncfusion.com/documentation/api/mention#minlength) property in the Mention control. This property defines the minimum number of characters a user must type after the mention character (@) to trigger the search action. This is especially useful when working with large datasets, as it helps reduce unnecessary queries and improves performance.
32
32
33
33
By default, `minLength` is set to 0, which means the suggestion list appears immediately after the mention character is entered. However, you can increase this value to delay the search until the user has typed a specific number of characters.
34
34
35
-
In the following example, the ``minLength` is set to 3, so the suggestion list will only appear once the user types three or more characters after the @ symbol.
35
+
In the following example, the `minLength` is set to 3, so the suggestion list will only appear once the user types three or more characters after the @ symbol.
36
36
37
37
{% if page.publishingplatform == "typescript" %}
38
38
@@ -63,7 +63,7 @@ In the following example, the ``minLength` is set to 3, so the suggestion list w
63
63
64
64
### Customizing suggestion list count
65
65
66
-
You can control the number of items displayed in the Mention suggestion list using the [suggestionCount](https://ej2.syncfusion.com/documentation/api/mention/#suggestioncount) property. This is particularly useful when working with large datasets, allowing you to limit the number of suggestions shown to the user.
66
+
You can control the number of items displayed in the Mention suggestion list using the [suggestionCount](https://ej2.syncfusion.com/documentation/api/mention#suggestioncount) property. This is particularly useful when working with large datasets, allowing you to limit the number of suggestions shown to the user.
67
67
68
68
By default, the suggestion list displays 25 items. You can customize this value to show fewer or more items based on your application's needs.
69
69
@@ -93,18 +93,18 @@ In the example below, the `suggestionCount` is set to 5, so only 5 items will be
You can customize how each item appears in the suggestion list using the [itemTemplate](https://ej2.syncfusion.com/documentation/api/mention/#itemtemplate) property. This allows you to display additional details such as email, role, or profile image alongside the mention name.
103
+
You can customize how each item appears in the suggestion list using the [itemTemplate](https://ej2.syncfusion.com/documentation/api/mention#itemtemplate) property. This allows you to display additional details such as email, role, or profile image alongside the mention name.
104
104
105
105
#### Display template
106
106
107
-
Use the [displayTemplate](https://ej2.syncfusion.com/documentation/api/mention/#displaytemplate) property to define how the selected mention appears in the editor content.
107
+
Use the [displayTemplate](https://ej2.syncfusion.com/documentation/api/mention#displaytemplate) property to define how the selected mention appears in the editor content.
108
108
109
109
For example, by default, the mention chip renders as:
110
110
@@ -124,10 +124,10 @@ This allows you to create more interactive and informative mentions within the e
124
124
125
125
In the following sample, we configured the following properties:
126
126
127
-
*[itemTemplate](https://ej2.syncfusion.com/documentation/api/mention/#itemtemplate) - Used to display the customized appearance in suggestion list.
128
-
*[displayTemplate](https://ej2.syncfusion.com/documentation/api/mention/#displaytemplate) - Used to customize how the selected value appears in the editor content.
129
-
*[allowSpaces](https://ej2.syncfusion.com/documentation/api/mention/#allowspaces) - Allow to continue search action if user enter space after mention character while searching.
130
-
*[suggestionCount](https://ej2.syncfusion.com/documentation/api/mention/#suggestioncount) - The maximum number of items that will be displayed in the suggestion list.
127
+
*[itemTemplate](https://ej2.syncfusion.com/documentation/api/mention#itemtemplate) - Used to display the customized appearance in suggestion list.
128
+
*[displayTemplate](https://ej2.syncfusion.com/documentation/api/mention#displaytemplate) - Used to customize how the selected value appears in the editor content.
129
+
*[allowSpaces](https://ej2.syncfusion.com/documentation/api/mention#allowspaces) - Allow to continue search action if user enter space after mention character while searching.
130
+
*[suggestionCount](https://ej2.syncfusion.com/documentation/api/mention#suggestioncount) - The maximum number of items that will be displayed in the suggestion list.
0 commit comments