Edit this page


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> 
Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article