RadEditor is more similar to MS Word and does not offer the requested functionality out-of-the box. If you would like you can use the OnClientCommandExecuted
event to obtain the selected values from the different formatting tools and store them in some global variables. After that in the OnClientSelectionChange
event to apply the value of these variable when start typing in the content area.
The implementation of the requested custom functionality will be not easy because the different browsers have their own implementation of the text range object. RadEditorSelection utilizes W3C Range
and Microsoft TextRange
objects to provide cross-browser support, however, for more advanced manipulations you will need to use the standard objects. More detailed information regarding W3C Range and Microsoft TextRange is available in the following articles:
the Telerik team
Check out Telerik Trainer
, the state of the art learning tool for Telerik products.