CuteEditor for PHP 6.1 Class Library

Editor.EditCompleteDocument Property

Specify whether a complete HTML document is being edited.


Example Code

<?php
         $editor=new CuteEditor();
         $editor->ID="Editor1";
         $editor->Text="Type here";
         $editor->FilesPath="CuteEditor_Files";
         $editor->EditCompleteDocument=true;
         $editor->Draw();
         $editor=null; 

         //use $_POST["Editor1"]to catch 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 | CuteEditor Namespace