editor icons wrapping into too many lines. should be 3 or 4 at max in full complexity mode.

Last post 07-22-2009, 7:52 PM by alan.pieroway. 3 replies.
Sort Posts: Previous Next
  •  07-21-2009, 5:57 PM 54181

    editor icons wrapping into too many lines. should be 3 or 4 at max in full complexity mode.

    1. <?php   
    2.       
    3.     if (isset($_REQUEST["file"]) && $_REQUEST["file"] != "")  
    4.     {  
    5.        
    6.         //print "<pre>";  
    7.         //print_r($_REQUEST);  
    8.         //print "</pre>";  
    9.   
    10.         print "<h1>Editing ".$_REQUEST['title']."</h1>";  
    11.         print "Edit content and click the <STRONG>SAVE</STRONG> disk icon to commit changes to disk. After saving, click <STRONG>BACK TO SITE</STRONG> link to return to site.<br />";  
    12.   
    13.         $editor=new CuteEditor();  
    14.         $editor->ID="Editor1";  
    15.         $editor->EditorWysiwygModeCss="default.css";  
    16.         $editor->FilesPath="CuteEditor_Files";  
    17.         $editor->EditCompleteDocument=false;  
    18.         $editor->BreakElement="Br";  
    19.         $editor->XHTMLOutput=true;  
    20.         $editor->Height=620;  
    21.         $editor->Width="100%";  
    22.         if (@$_GET["postback"]!="true")  
    23.         {  
    24.             print "<br>Loaded ".$_REQUEST['file']."<br><br>";  
    25.             $editor->LoadHTML($_REQUEST["file"]);  
    26.             $editor->Draw();  
    27.         }   
    28.         else  
    29.         {  
    30.             print "<br>Saved ".$_REQUEST['file']."<br><br>";  
    31.             $editor->SaveFile($_REQUEST["file"]);  
    32.             $editor->Draw();  
    33.         }  
    34.         $editor=null;  
    35.   
    36.         print "<br><a href='../index.php'>CANCEL</a>";  
    37.   
    38.     } else {  
    39.   
    40.         print "<h1>Select file to edit from menu.</h1>";  
    41.     }  
    42.   
    43. ?> 

    for some reason my editor icons wrap after about 40% going into 7 or 8 lines of icons.
     
    any idea why from looking at my snippet of code?
     
    al
     
     
  •  07-21-2009, 6:00 PM 54182 in reply to 54181

    Re: editor icons wrapping into too many lines. should be 3 or 4 at max in full complexity mode.

    see this screenshot
     
     
  •  07-22-2009, 4:10 PM 54212 in reply to 54182

    Re: editor icons wrapping into too many lines. should be 3 or 4 at max in full complexity mode.

    Please download the latest build then try again.
     
    In the latest build, you don't need to set the FilesPath property.
     
    Keep me posted

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  07-22-2009, 7:52 PM 54215 in reply to 54212

    Re: editor icons wrapping into too many lines. should be 3 or 4 at max in full complexity mode.

    the files i had been using i thought were recent, from purchase/download a day or two ago, but i guess i only grabbed the new license file from the download and just used the file set from a previous purchase a month or two ago.  either way, i just applied the actual file set to the server and the problem went away. 
     
    interestingly enough the old fileset from a month ago never demonstrated this issue. 
     
    fixed now.
     
    thanks
    al
View as RSS news feed in XML