CuteEditor for PHP 6.1 Class Library

Editor.UseFontTags Property

Font tags are now deprecated, meaning that they aren't used any more and will cause validation errors. Many legacy pages still contain style information in font tags. By default Cute Editor converts font tags to span tags. <font face="times" size="4" color="#ffffff">your text</font> would be replaced with <span style="font-family: times, serif; font-size: 110%; color:#ffffff">your text</span> If you still want to use font tags, you can set this property to true.

Example Code

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

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

See Also

Editor Class | CuteEditor Namespace