Many functions of Cute Editor are accessible via the toolbars, context menus (accessible through a right-click menu in the content area). This section contains reference documentation for all of the toolbars customization.
Most toolbar configuration settings have been moved to XML definitions within the configuration file (Full.config,Simple.config...). These configurations are applied using AutoConfigure property. AutoConfigure Enumeration represents Several predefined sets of buttons.
Member Name | Description |
None | Disables all items on the toolbar |
Default | Enables the buttons in the cuteeditor_files/Configuration/AutoConfigure/Default.config file |
Full | Enables the buttons in the cuteeditor_files/Configuration/AutoConfigure/Full.config file |
Full_noform | Enables the buttons in the cuteeditor_files/Configuration/AutoConfigure/Full_noform.config file |
Compact | Enables the buttons in the cuteeditor_files/Configuration/AutoConfigure/Compact.config file |
Minimal | Enables the buttons in the cuteeditor_files/Configuration/AutoConfigure/Minimal.config file |
Simple | Enables the buttons in the cuteeditor_files/Configuration/AutoConfigure/Simple.config file |
1. Load and Edit the configuration file directly.
2. Load the different configuration file dynamically for the different roles/users using Editor.AutoConfigure property.
3. Create/load a custom toolbar configuration file.
4. Set the template or layout to use for the toolbars dynamically using Editor.TemplateItemList property. Example TemplateItemList = "bold, italic, underline"
5. Put the toolbar items needed to be disabled into this Editor.DisableItemList string. Example DisableItemList="Save, Bold, Delete"
6. Create/Add your own custom button dynamically.