CuteEditor for PHP 6.1 Class Library

Editor.AllowPasteHtml Property

Specifies the manner in which the editor handles pasted text. If false, formatting is stripped when content is pasted into the editor. The default is true.


Example Code

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

         //use $_POST["Editor1"]to catch the data
?>

See Also

Editor Class | CuteEditor Namespace