Edit this page

get_contentArea

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";
    }
</script>
<telerik:radeditor runat="server" OnClientLoad="OnClientLoad" ID="RadEditor1"></telerik:radeditor>