Rad Editor is stuck in time. Today's web content is structured using DIVs, leaving tables for presenting data.
Examples like Telerik Web UI Editor Editable DIV Content Area Demo | Telerik UI for ASP.NET AJAX are so obsolete and shows that this control has been left behind.
Will you ever support creating contents using DIV elements with a dialog box that allows to add CSS classes or define style settings?
1 Answer, 1 is accepted
Hi Hugo,
Thank you for sharing your feedback. We understand the importance of modern, DIV-based content structuring in today's web development.
RadEditor already provides a comprehensive set of features for DIV-based content authoring. Let us walk you through them:
1. DIV Content Area (ContentAreaMode="Div")
Setting ContentAreaMode="Div" renders the content area as a <div contenteditable="true"> instead of an <iframe>. This means:
- Parent page CSS styles are automatically inherited
- Better screen reader compatibility
- Better HTTPS and cross-domain support
<telerik:RadEditor runat="server" ID="RadEditor1" ContentAreaMode="Div" />
2. DIV on Enter Key (NewLineMode="Div")
By setting NewLineMode="Div", pressing Enter inserts a <div> element instead of <p> or <br>:
<telerik:RadEditor runat="server" ID="RadEditor1" NewLineMode="Div" />
3. FormatBlock Tool
The built-in FormatBlock dropdown in the toolbar allows you to convert any block element into a <div>, <p>, <h1>–<h6>, etc. Simply select the content and choose the desired block format.
4. Apply CSS Class to Block Elements (including DIVs)
The Apply CSS Class dropdown supports applying classes to block elements. You can configure it with div.classname selectors to target DIV elements specifically:
<telerik:RadEditor runat="server" ID="RadEditor1">
<CssClasses>
<telerik:EditorCssClass Name="Clear Class" Value="" />
<telerik:EditorCssClass Name="Content Block" Value="div.content-block" />
<telerik:EditorCssClass Name="Highlight Section" Value="div.highlight-section" />
</CssClasses>
</telerik:RadEditor>
5. StyleBuilder Dialog
The built-in StyleBuilder dialog provides a comprehensive visual CSS editor with categories for Font, Background, Text, Layout, Box, Border, and Lists. It applies CSS styles directly to the selected element — including <div> elements. You can test it live here:
https://demos.telerik.com/aspnet-ajax/editor/examples/built-in-dialogs/defaultcs.aspx
6. Custom Control via OnClientCommandExecuting
For even more control, you can intercept the Enter key and insert a <div> with any attributes you need — class, id, style, etc.:
<script type="text/javascript">
function OnClientCommandExecuting(editor, args) {
if ("InsertParagraph" == args.get_commandName()) {
editor.pasteHtml("<div class='my-block'> </div>");
args.set_cancel(true);
}
}
</script>
<telerik:RadEditor runat="server" ID="RadEditor1"
NewLineMode="Div"
OnClientCommandExecuting="OnClientCommandExecuting" />
7. Custom "Insert DIV" Dialog
If you need a dedicated dialog (similar to Insert Table) that inserts a <div> with a specific CSS class and style settings, RadEditor's Custom Dialog mechanism supports exactly this. You can create an ASPX page with your desired UI (class picker, style options, preview), and integrate it into the toolbar via showExternalDialog() — fully integrated with the editor's undo/redo system. See Custom Dialogs documentation for details.
7. Template Manager
The template manager allows you to insert predefined HTML templates in the content area.
We hope this helps clarify the available options. Please don't hesitate to reach out if you need further assistance or a sample implementation of a custom "Insert DIV" dialog.
Feature Request
If you have a specific vision for a built-in "Insert DIV" dialog or other DIV-based content authoring improvements, we encourage you to submit a feature request at our feedback portal:
https://feedback.telerik.com/aspnet-ajax
When submitting, it would be very helpful if you could include:
- A detailed description of the desired dialog and workflow
- Mockups or screenshots of the expected UI
- Examples from other editors that inspire your vision
- Specific use cases from your project
This helps our product team prioritize and design the feature to best match real-world needs. Other customers can also vote on the request, which further influences the roadmap.
Regards,
Rumen
Progress Telerik
All that would be great 5 years ago. Today this editor although is a beautiful product, is obsolete in terms of UX for editing content and I'm sure you know this.
Check these simple examples with much better experience in terms of dealing with content elements. Even Wordpress is using these kind of builders and stepping away from traditional editors. I'm not talking about content blocks. I'm talking about being able to deal with DIV elements, drag headers, paragraphs, images and DIVs around.
KEditor - Kademi Content Editor
Thank you for the detailed feedback and for sharing those links, Hugo. These three editors are great examples that clearly illustrate the editing experience you're looking for. This kind of input is very valuable to us.
We do have a feature request logged for this type of block-based, drag-and-drop layout editing in RadEditor:
Bootstrap Grid Builder for RadEditor.
If you haven't already, I'd encourage you to cast your vote and add your scenario as a comment there. The feedback portal is the primary mechanism we use to prioritize new features, and detailed real-world use cases like yours carry significant weight with the product team. I want to be upfront with you: this feature currently has very limited votes, so it is not on the near-term roadmap. Building a full block-based drag-and-drop content builder is a major engineering effort, and we need to see enough community demand to prioritize it.
We appreciate your long-time use of our components and your honest feedback.
Hi Hugo,
Thank you for the candid feedback. We genuinely appreciate it, and you raise valid points.
Regarding AI - this is a top priority for us. We are planning to bring the same AI capabilities to RadEditor that are already available in the Kendo UI for jQuery Editor. You can see a live demo here:
https://demos.telerik.com/kendo-ui/editor/ai-integration
For the first iteration, the focus will be on the AI Prompt rather than full content creation. The AI Prompt in the Kendo UI for jQuery Editor is designed to elevate the writing experience by offering intelligent suggestions that improve clarity, tone, and structure. Whether you're documenting a product, drafting a report, or creating marketing content, it helps generate high-quality writing quickly by providing relevant ideas, correcting grammar and spelling, and recommending stronger phrasing.
The demo showcases both available AI integration options:
- AIPrompt component — appears in a dedicated pane via a custom toolbar button
- Inline Prompt — pops up when you select text within the Editor
Both options support a rich set of built-in commands, including rewriting text, fixing mistakes, changing tone, translating, and more.
That said, we welcome any feedback on new functionality. If you have specific ideas or use cases for either editor, please submit them on our feedback portals:
- Kendo UI for jQuery Editor: https://feedback.telerik.com/kendo-jquery-ui
- RadEditor (ASP.NET AJAX): https://feedback.telerik.com/aspnet-ajax
Thank you for your loyalty to the Telerik ecosystem and for pushing us to do better.
