RichTextEditor for ASP 8.0 Class Library

Editor.ContentCssText Property

Gets or sets inline CSS text that will be used by the editable area. Example ContentCssText=" p{font:Normal 12px 'Segoe UI'} .exampleclass{font-weight: bold}"

Example

<%   
    Dim rte 
    Set rte=new RichTextEditor   
    rte.Text="Type here"
    rte.ContentCssText="body{color:Blue;}.Head{font-weight:bold;font-size:20px;}"   
    rte.ID="Editor1"    
    rte.MvcInit()
    Response.Write(rte.GetString())  
    // use Request.Form("Editor1")to retrieve the data  
%>

See Also

Editor Class | RTE Namespace