One of the new features coming up in Q1 2012 for the RadEditor control is a new drop-down tool called "Format sets". We hope that this new editor command will make styling your content faster and easier. In its essence, the format sets drop-down combines the features of two existing editor tools - the paragraph styles and the apply CSS class and adds a new way to apply formatting to content.
The new tool will help you immensely if your site has a lot of CSS styles and it takes a long time to find the right one each time. It features three sets (groups) - Element, Inline, and Block. The Element set is contextual - what you see there will depend on the currently selected element in the editor. In the screenshot above an image is selected, so the Element set shows image related formatting. If the currently selected element has no formatting defined, the tool will show element formatting for the closest ancestor element of the currently selected one that has a defined set. For example selecting text in a table cell will show the table cell formatting options. The Inline formatting set will show options very similar to the ones you have in the Apply CSS class drop-down. Finally, the Block format set will show options the same as the Paragraph styles tool.
You can define what is shown in the new drop-down from three different places - from the editor tools file (ToolsFile.xml), from the editor declaration (.aspx or .ascx file), and from code (C#,VB). For more information about the Format Sets drop-down, visit our online documentation at Format Sets help
An online demo is also available right now, where you can see the new editor functionality in action. Download the Q1 2012 beta or head over to our demo server http://demos.telerik.com/aspnet-ajax-beta/editor/examples/formatsets/defaultcs.aspx.
Stoyan Stratev is a technical lead in the Windows 8 HTML team at Telerik. He joined the company in 2005 as a web developer, specializing in the integration of the Telerik components in third-party solutions, such as DotNetNuke and SharePoint. He led one of the ASP.NET AJAX teams before moving on to the Windows 8 division.
Copyright © 2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.