1. Strip Word-formatting on paste
The "Paste from Word" button
allows you to strip the Word-specific tags from the text copied in the clipboard
and will paste it in RadEditor with a single click.
2. Strip Word-formatting on paste (cleaning fonts and sizes)
The "Paste from Word cleaning fonts and sizes" button
will clean all Word-specific tags plus and will remove font names and text sizes,
as they are rarely used in the web environment.
3. Forced format stripping on Paste
Developers can now enforce content formatting using the new StripFormattingOptions
property. As a result, format stripping will be applied to all pasted content, with
the following options: None, MSWord (retains fonts and sizes), MSWordNoFonts, MSWordRemoveAll,
Css, Font, Span, All.
4. Word Content in Clipboard Interception
In case the user is trying to paste Word content with the regular Paste button or
Ctrl+V, a dialog will prompt whether the Word markup should be cleaned. If the Clipboard
content does not come from Word, the dialog will not be shown.
5. Strip Word-formatting after paste
As an alternative to the "Paste from Word" tool (item 1) you may paste the formatted
content first and then strip it using the "Format Stripper" tool.
6. Paste plain text
The "Paste Plain Text" button
works similarly to "Paste from Word"
, but it removes
all HTML formatting and pastes plain text, preserving the line breaks.
7. Paste as HTML
This new tool
allows you to paste the HTML content of the Clipboard as code, which may be quite
convenient for developer-oriented applications (e.g. support systems, forums, etc.)
8. Strip formatting on submit
Formatting can also be stripped automatically on page submit for browsers that do
not provide onpaste event using the OnClientSubmit event and FormatStripper
command of RadEditor, e.g.
<telerik:RadEditor runat="server" OnClientSubmit="OnClientSubmit"/>
The avalable options for the FormatStripper command are ALL, ALL_NO_BRAKES, CSS,
SPAN, FONT, WORD, WORD_ALL and WORD_NO_FONTS.
More information on the different stripping options is available in the following
Cleaning Word Formatting.