Cute Editor for PHP

Toolbar Configuration file Structure

Toolbar Configuration file Structure   

The Cute Editor toolbar configuration files, which contain XML, specify the toolbar configuration information of the Cute Editor instance. These configurations are applied using AutoConfigure property. The Full.config configuration files can be thought of as the master configuration file.

This topic explains the contents of the Cute Editor toolbar configuration files. Specifically, it shows the XML structure. All the configuration files can be found in the CuteEditor_Files/Configuration/AutoConfigure folder.
 
XML Structure:

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

       <contextmenu>

           <item name="Editing" value="True"/>
           <item name="Format" value="True"/>

      </contextmenu>

       <toolbars>

           <item type="g_start" />
          
<item type="image" name="Save" postback="True" />
          
<item type="image" name="Bold"  Visible="True" />
           <item type="netspell" />
           <item type="image" name="InsertDate" imagename="insertdate" />
          
<item type="dropdown" name="CssClass"text="CssClass" command="CssClass" />
            ...
           
<item type="g_end" />

       </toolbars>

</configuration>

 

  <configuration> Element

Each configuration file must start with the configuration element.

    <toolbars> Element

This element contains the configuration information for the toolbars within Cute Editor.

    toolbars: <item> Element

This element contains the configuration information for a toolbar for use within Cute Editor.

Attribute Description
Type This attribute contains the type information of a toolbar.

Type Name Description
g_start  Start of a Group Menu
g_end End of a Group Menu
image An image button.
netspell A NetSell button
separator A space or line between toolbar buttons
linebreak Inserts a line break.
table   A table button
ForeColor A ForeColor button
BackColor A BackColor button
dropdown A drop-down control that displays a menu
holder Custom button holder
imagename Specifies the image name of the button if the image name of the button is different from the item name attribute.
postback Specifies whether an automatic postback to the server will occur whenever the user click the button.
RenderItemBorder Specifies whether the border of the item on a rich drop-down menu should render.
Visible Indicates whether the item should appear in the toolbar or not
name

This attribute contains the name information of a toolbar.

 

Item Name Description
Save  Save
Print Print
Find   Find and replace
ToFullPage
FromFullPage
 Full-Screen
CleanCode  Code Cleaner
Cut Cut
Copy Copy
Paste Paste
PasteText  Paste Plain Text
PasteWord  Paste from word
Delete Delete
Undo Undo
Redo Redo
Break  Break
InsertDate   Insert the current date
InsertTime   Insert the current time
ToggleBorder Visible Borders
InsertChars Special Chars
InsertEmotion Insert Emotion
InsertText Text Frame
InsertFieldSet  GroupBox
ImageGalleryByBrowsing  Insert Image
InsertImage  Insert Image
InsertFlash  Insert Flash
InsertMedia  Insert Media
InsertDocument  Insert Document
InsertTemplate  Insert Template
InsertRowTop Insert Rows
InsertRowBottom  Insert Row Below
DeleteRow Delete Rows
InsertColumnLeft  Insert Column to the Left
InsertColumnRight  Insert Column to the Right
DeleteColumn Delete columns
InsertCell Insert cells
DeleteCell Delete cells
EditRow   Row properties
EditCell   Cell properties
MergeRight  Merge right
MergeBottom  Merge below
HorSplitCell  Horizontal split
VerSplitCell  Vertical split
Form  Form
InsertTextBox  TextArea
InsertInputText  Input Text Box
InsertInputPassword  Password field
InsertInputhidden  Hidden field
InsertListBox  ListBox
InsertDropDown  Dropdown Box
InsertRadioBox  Radio Button
InsertCheckBox  Checkbox
InsertInputImage  Image Button
InsertInputSubmit  Submit Button
InsertInputReset  Reset Button
InsertInputButton  Input Button
Bold Bold
Italic Italicize
Underline  Underline
JustifyLeft Left Justify
JustifyCenter Center
JustifyRight Right Justify
JustifyFull  Justify Full
JustifyNone   Justify None
RemoveFormat Remove Format
InsertOrderedList Ordered List
InsertUnorderedList Unordered List
Indent Indent
Outdent Outdent
Subscript Subscript
Superscript Superscript
Strikethrough Strike Through
Ucase  Upper Case
Lcase  Lower Case
InsertHorizontalRule Insert Rule
InsertLink Insert Link
Unlink Remove Link
InsertAnchor Insert Anchor
SelectAll Select All
SelectNone   Select None
AbsolutePosition Absolute Position
BringForward Bring Forward
BringBackward Send Backward
ToggleBorder  Toggle Border
DocumentPropertyPage  Page Properties
CssClass CssClass dropdown
CssStyle CssStyle dropdown
FormatBlock Paragraph dropdown
FontName FontName dropdown
FontSize FontSize dropdown
Links Links dropdown
Codes Codes dropdown
Images Images dropdown
Zoom Zoom dropdown



 



 

Copyright 2005 PHP Online HTML Editor. All rights reserved. | Cute Editor for PHP

- The most powerful online PHP WYSIWYG HTML Editor -