Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions blazor/rich-text-editor/mail-merge.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ When the user selects an item from the dropdown:
if (args.Item.Text != null)
{
var value = _mergeData.FirstOrDefault(md => md.Text == args.Item.Text)?.Value;
string htmlContent = $"<span contenteditable=\"false\" class=\"e-mention-chip\"><span>{{{{{value}}}}}</span></span>
string htmlContent = $"<span contenteditable=\"false\" class=\"e-mention-chip\"><span>{{{{{value}}}}}</span></span>";
var undoOption = new ExecuteCommandOption { Undo = true };
this._mailMergeEditor.ExecuteCommandAsync(CommandName.InsertHTML, htmlContent, undoOption);
await this._mailMergeEditor.SaveSelectionAsync();
Expand Down Expand Up @@ -229,4 +229,4 @@ This ensures all placeholders are dynamically replaced without manual editing.

## Related resources

[Mention Control Guide](https://blazor.syncfusion.com/documentation/mention/getting-started-webapp)
[Mention Control Guide](https://blazor.syncfusion.com/documentation/mention/getting-started-webapp)