Skip to main content
All docs
V25.1
  • ShortenAIToolbarItem Class

    A toolbar item that shortens the editor text.

    Namespace: DevExpress.AIIntegration.Blazor.HtmlEditor

    Assembly: DevExpress.AIIntegration.Blazor.HtmlEditor.v25.1.dll

    NuGet Package: DevExpress.AIIntegration.Blazor.HtmlEditor

    Declaration

    public class ShortenAIToolbarItem :
        BaseAIToolbarItem

    Remarks

    Populate the DxHtmlEditor.AdditionalItems collection with the ShortenAIToolbarItem object to add the Shorten Text item to the editor toolbar. This item removes unnecessary details and makes content more concise.

    Read Tutorial: Get Started with AI-powered Extension for Blazor HTML Editor

    View Example: Rich Text Editor and HTML Editor for Blazor - How to integrate AI-powered extensions

    @using DevExpress.AIIntegration.Blazor.HtmlEditor
    
    <DxHtmlEditor @bind-Markup="Value" >
        <AdditionalSettings>
            <SummarizeAIToolbarItem />
            <ExplainAIToolbarItem />
            <ProofreadAIToolbarItem />
            <ExpandAIToolbarItem />
            <ShortenAIToolbarItem />
            <AskAssistantAIToolbarItem />
            <ChangeStyleAIToolbarItem />
            <ChangeToneAIToolbarItem />
            <TranslateAIToolbarItem Languages="@("German, French, Chinese")" />
        </AdditionalSettings>
    </DxHtmlEditor>
    

    AI-powered Extension for HtmlEditor

    Inheritance

    Object
    ComponentBase
    DevExpress.AIIntegration.Blazor.Internal.BasePopupItem
    BaseAIToolbarItem
    ShortenAIToolbarItem
    See Also