RichTextEditor for ASP 8.0 Class Library

Editor.EditCompleteDocument Property

Specifies whether a complete HTML document is being edited.

Example

<% 
    Dim rte   
    Set rte=new RichTextEditor   
    rte.Text="Type here"
    rte.EditCompleteDocument=true   
    rte.ID="Editor1"    
    rte.MvcInit()  
    Response.Write(rte.GetString())  
    // use Request.Form("Editor1")to retrieve the data  
%>

Remarks

If false, the editor will only process content inside the page body i.e. all content inside of the <body>...</body> tags of a page. If true, the editor will process content outside the page body and preserve header tags (e.g. <head>...</head>, <title>...</title>, etc.).

See Also

Editor Class | RTE Namespace