RichTextEditor for ASP 8.0 Class Library

Editor.PreviewCssText Property

Gets or sets inline CSS text that will be used by the preview window. Example PreviewCssText="div,p{font:Normal 12px 'Segoe UI'}"

Example

<%   
    Dim rte 
    Set rte=new RichTextEditor   
    rte.Text="Type here"
    rte.PreviewCss="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