Re: Css Class and AutoConfgure Toolbar

  •  10-22-2010, 2:38 PM

    Re: Css Class and AutoConfgure Toolbar

    Dear ShawnD,
     
    Issue 1: 
     
    Please open http://phphtmledit.com/document/scr/Class_dropdown_Customization.htm , and check whether you followed step 1.
    DropDown item style customization:
    a.  Opened "cuteeditor_files\Configuration\Shared\Common.config"
    b.  please check section "  <CssClass>" , you can find the following line:
                 <html><![CDATA[<span style='background-color: yellow'>Highlight</span>]]></html>
         This is the style setting which will be applied in the dropdown list.
          You can add such line and update its style within your dropdown item.
     
    Issue 2:
     
    Please use the following propery:
    $editor->CodeViewTemplateItemList Property
     
    The toolbar items used in the editor Code View going to this string. Example
    $editor->CodeViewTemplateItemList="Save,Print,Cut,Copy,Paste,Find,ToFullPage,FromFullPage";
    Example Code

         <?php
                $editor=new CuteEditor();
                $editor->ID="Editor1"; 
                $editor->ConfigurationPath="/Configuration/AutoConfigure/a1.config"; 
                $editor->CodeViewTemplateItemList="Save,Print";   
                $editor->Draw();
                $editor=null;           
                //use $_POST["Editor1"]to retrieve the data
            ?>
     
    Thank you for asking
View Complete Thread