Toolbar Configuration file Structure
Toolbar Configuration File Structure
The CuteEditor toolbar configuration files, which contain XML, specify the toolbar configuration information of the CuteEditor 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>
- <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" RenderItemBorder="true" text="[[CssClass]]" command="CssClass" />
- ...
- <item type="g_end" />
- </toolbars>
- </configuration>
<configuration> Element
Each configuration file must start with the configuration element.
<contextmenu> Element
Specify the context menu configuration information of the Cute Editor instance.
contextmenu: <item> Element
Represent a group of context menus.
| Attribute | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| name |
This attribute contains the name of context menu group.
|
||||||||||||||||||
| value | Specifies whether the context menu group is enabled. If false, the context menu group will be disabled. |
<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.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 clicks 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.
|
Save
Print
Find and Replace
Code Cleaner
Cut
Copy
Paste
Paste Plain Text
Paste from word
Delete
Undo
Redo
Break
Insert the current date
Insert the current time
Visible Borders
Special Chars
Insert Emotion
Text Frame
Insert Image
Insert Image
Insert Flash
Insert Media
Insert Document
Insert Template
Insert Rows
Insert Row Below
Delete Rows
Insert Column to the Left
Insert Column to the Right
Delete columns
Insert cells
Delete cells
Row properties
Cell properties
Merge right
Merge below
Horizontal split
Vertical split
Form
TextArea
Input Text Box
Password field
Hidden field
ListBox
Dropdown Box
Radio Button
Checkbox
Image Button
Submit Button
Reset Button
Input Button
Bold
Italicize
Underline
Left Justify
Center
Right Justify
Justify Full
Justify None
Remove Format
Ordered List
Unordered List
Indent
Outdent
Subscript
Superscript
Strike Through
Upper Case
Insert Rule
Insert Link
Remove Link
Insert Anchor
Select All
Select None
Absolute Position
Bring Forward
Send Backward
Page Properties