New to Telerik UI for ASP.NET AJAX? Download free 30-day trial


Returns a reference to the editor's content area.

function get_contentArea()  

You can use this method for example to customize the appearance of the editor's content area. The following example demonstrates how to apply different style properties to the content area and change its look:

<script type="text/javascript">
    function OnClientLoad(editor, args)
        var style = editor.get_contentArea().style;
        style.backgroundColor = "black";
        style.color = "red";
        style.fontFamily = "Arial";
        style.fontSize = "15";
<telerik:radeditor runat="server" OnClientLoad="OnClientLoad" ID="RadEditor1"></telerik:radeditor> 
In this article