syncfusion-blazor-smart-rich-text-editor
Installation
SKILL.md
Syncfusion Blazor Smart Rich Text Editor
A comprehensive skill for implementing and configuring the Syncfusion Blazor Smart Rich Text Editor (SfSmartRichTextEditor) — an AI-powered WYSIWYG editor that extends the full-featured SfRichTextEditor with intelligent content assistance. Supports OpenAI, Azure OpenAI, Ollama, and custom AI backends. Provides a Smart Action dropdown toolbar, an AI query dialog (Alt+Enter), and a fully customizable AI Assistant popup via AssistViewSettings.
When to Use This Skill
Use this skill when the user needs to:
- Install and set up
SfSmartRichTextEditorin a Blazor Server or Web App project - Configure an AI backend: OpenAI, Azure OpenAI, Ollama, or a custom
IChatClient - Register
IChatInferenceService/SyncfusionAIServiceinProgram.cs - Use the Smart Action dropdown toolbar for AI commands (summarize, expand, adjust tone)
- Add
Name = "AI Commands"andName = "AI Query"toToolbarItemModellist to render AI toolbar buttons - Open the AI Query dialog with
Alt+Enterfor free-form AI prompts - Configure
AssistViewSettings:Commands,Suggestions,Prompts,Placeholder,MaxPromptHistory, popup sizing - Customize the AI Assistant popup (
BannerTemplate,HeaderToolbarSettings,PromptToolbarSettings,ResponseToolbarSettings) - Handle AI events:
AIPromptRequested,AIResponseStopped,AIToolbarItemClicked,AIPopupOpening,AIPopupClosing - Use AI Assistant methods:
ShowAIPopupAsync,HideAIPopupAsync,ExecuteAIPromptAsync,UpdateAIResponseAsync,GetAIPromptHistoryAsync,ClearAIPromptHistoryAsync - Style or animate the AI Assistant popup (
.e-rte-aiquery-dialog) - Use all inherited
SfRichTextEditorfeatures: toolbar, images, tables, events, methods, data binding, paste cleanup, import/export, accessibility