New to Telerik UI for ASP.NET Core? Download free 30-day trial

Format Painter

Use the Format Painter option of the Editor to quickly apply the same formatting such as color, border style, font style and size to multiple pieces of text. It allows you to copy all formatting from a text fragment to another one - like copy and paste but for formatting.

  1. Ensure that the FormatPainter option is added to the Editor's toolbox.

        @(Html.Kendo().Editor()
            .Name("editor")
            .Tools(tools => tools
                .Clear()
                .FormatPainter()
                .CleanFormatting()
            )
        )
    
    <kendo-editor name="editor">
        <tools>
            <tool name="copyFormat">
            </tool>
            <tool name="applyFormat">
            </tool>
            <tool name="cleanFormatting">
            </tool>
        </tools>
    </kendo-editor>
  1. Focus or select the text that you want to copy the formatting from.
  2. Click on the Copy Format tool in the widget's toolbar.
  3. Select the text fragment that you want to apply the style to.
  4. Click on the Apply Format tool in the widget's toolbar.
  5. The format can be applied multiple times or canceled by clicking on the Clean Formatting tool.

See Also

In this article