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.
-
Ensure that the
FormatPainter
option is added to the Editor's toolbox.@(Html.Kendo().Editor() .Name("editor") .Tools(tools => tools .Clear() .FormatPainter() .CleanFormatting() ) )
Focus or select the text that you want to copy the formatting from.
- Click on the
Copy Format
tool in the widget's toolbar. - Select the text fragment that you want to apply the style to.
- Click on the
Apply Format
tool in the widget's toolbar. - The format can be applied multiple times or canceled by clicking on the
Clean Formatting
tool.