CuteEditor for .NET

How to Create a Custom Toolbar Configuration File

The following table shows the steps to create your own toolbar configuration file:

Step 1. Create a new configuration file and name it "mytools.config"

Open the configuration file and copy/paste the code below, save it to
~/CuteSoft_Client/CuteEditor/Configuration folder. 


  1.  <?xml version="1.0" encoding="utf-8" ?>    
  2. <configuration>    
  3.    <toolbars>    
  4.       <item type="g_start" />    
  5.       <item type="image" name="Save" postback="True" />  
  6.       <item type="image" name="Bold" />  
  7.       <item type="image" name="Italic" />    
  8.       <item type="image" name="Underline" imagename="under" />    
  9.       <item type="image" name="JustifyLeft" imagename="left" />    
  10.       <item type="image" name="JustifyCenter" imagename="center" />    
  11.       <item type="image" name="JustifyRight" imagename="right" />  
  12.       <item type="holder" name="insertcustombutonhere" />  
  13.       <item type="g_end" />    
  14.    </toolbars>    
  15. </configuration>   
Step 2. Specify the path of your custom configuration file

In the Editor setting, you need to set the use the ConfigurationPath Propety to specify the path of your custom configuration file.


For example:

<CE:Editor 
        ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/mytools.config"
       
id="Editor1" 
        runat="server" >
</CE:Editor>