New to Telerik UI for ASP.NET Core? Download free 30-day trial
ASP.NET Core Editor Format Painter
- EXAMPLE
- VIEW SOURCE
-
Change Theme
defaultDefault Theme
- Main
- Main Dark
- Nordic
- Ocean Blue
- Ocean Blue A11Y
- Purple
- Turquoise
Bootstrap Theme- Main
- Bootstrap 3
- Bootstrap 3 Dark
- Main Dark
- Nordic
- Turquoise
- Turquoise Dark
- Urban
- Vintage
Material Theme- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
Classic Theme- Main
- Green
- Green Dark
- Lavender
- Lavender Dark
- Main Dark
- Metro
- Metro Dark
- Moonlight
- Opal
- Opal Dark
- Silver
- Silver Dark
- Uniform
Fluent Theme- Main
Also available for:
CLIENT-SIDE API SERVER-SIDE APIDescription
The Telerik UI for ASP.NET Core Editor provides the Format Painter tool which enables users to copy the formatting of a specific chunk of text and apply it to other chunks in its content area. This functionality is resembles the FormatPainter of MS Word®. It saves time when the user needs to apply identical formatting to multiple sections of the edited content.
How It Works
- To save the formatting of the selected content in the clipboard, apply the desired formatting to a section and click the Copy Format button. If the selection includes sections with different formatting, the tool will copy the styles from the section where the start of the selection is placed.
- To apply the saved formatting, select the text that you want to format and click the Apply Format button.
Supported Formatting
The tool will copy and apply all inline styles. Also, any classes and attributes present in the source will be copied to the target.
The tool will also transfer the DOM structure from the source to the target, clearing the previous DOM structure. The exceptions are the following targets:
li
target elements will not be modified. Instead, the copied structure will be applied within them.th
andtd
target elements will not be modified. The copied structure will also be applied within them.