Skip to content

Commit a12e907

Browse files
Merge pull request #7231 from syncfusion-content/984330-AI-Prompt
Updated code snippet
2 parents 32afe7a + 84a4ee0 commit a12e907

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blazor/rich-text-editor/mail-merge.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ When the user selects an item from the dropdown:
9898
if (args.Item.Text != null)
9999
{
100100
var value = _mergeData.FirstOrDefault(md => md.Text == args.Item.Text)?.Value;
101-
string htmlContent = $"<span contenteditable=\"false\" class=\"e-mention-chip\"><span>{{{{{value}}}}}</span></span>
101+
string htmlContent = $"<span contenteditable=\"false\" class=\"e-mention-chip\"><span>{{{{{value}}}}}</span></span>";
102102
var undoOption = new ExecuteCommandOption { Undo = true };
103103
this._mailMergeEditor.ExecuteCommandAsync(CommandName.InsertHTML, htmlContent, undoOption);
104104
await this._mailMergeEditor.SaveSelectionAsync();
@@ -229,4 +229,4 @@ This ensures all placeholders are dynamically replaced without manual editing.
229229

230230
## Related resources
231231

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

0 commit comments

Comments
 (0)