CuteEditor CuteEditor for ASP
 
Home   DotNetNuke Integration   Configure the provider   Online Demo   Developer's Guide   Forums   Feature Comparison Chart   Order
 

Configuring Cute Editor for DotNetNuke 3.x DNN Rich Text Editor

You can configure CuteEditor for DotNetNuke by modifying CuteEditor provider section of the Web.config file. The supported properties are listed below.

Properties applied to the member of the "Administrators" role

Admin_AutoConfigure Auto configures the toolbar with a set of buttons. Provides a mechanism for rapidly autoconfigures the toolbar with a set of predefined buttons. For example to enable every toolbar button and menu, do this: editor1.AutoConfigure(Config.Full). Note that this method will affect properties of the editor, so it is usually best to call it before any other property or method.
Admin_SecurityPolicyFile Specify the Security Policy File which contains a configurable set of rules called security policy.
Admin_TemplateItemList Gets or sets the template or layout to use for the toolbars.
Admin_DisableItemList The toolbar items needed to be disabled going to this string. Example DisableItemList="Bold, New, Delete"
Admin_AllowPasteHtml Specifies the manner in which the editor handles pasted text. If false, formatting is stripped when content is pasted into the editor. The default is true.
Admin_EnableBrowserContextMenu Specify whether the browser context menu is enabled. Set this to false to disable the browser context menu.
Admin_EnableContextMenu Specify whether the context menu is enabled. The context menu is not available in IE5.
Admin_EnableStripScriptTags Whether to enable the client script based HTML editor. If false, the Cute Editor will render as a regular textarea field instead of a WYSIWYG editor.
Admin_EditorOnPaste Specifies the manner in which the editor handles pasted text.
Admin_ReadOnly Specify whether the content is readonly
Admin_ShowBottomBar Specifies whether the Bottom Bar(Design, Html and Preview Mode tab) appear.
Admin_ShowHtmlMode Specifies whether the Html Mode tab appear
Admin_ShowPreviewMode Specifies whether the Preview Mode tab appear.
Admin_ShowTagSelector Specifies whether quick tag selector toolbar appear.


Properties applied to the member of the "Registered Users" role

Registered_AutoConfigure Auto configures the toolbar with a set of buttons. Provides a mechanism for rapidly autoconfigures the toolbar with a set of predefined buttons. For example to enable every toolbar button and menu, do this: editor1.AutoConfigure(Config.Full). Note that this method will affect properties of the editor, so it is usually best to call it before any other property or method.
Registered_SecurityPolicyFile Specify the Security Policy File which contains a configurable set of rules called security policy.
Registered_TemplateItemList Gets or sets the template or layout to use for the toolbars.
Registered_DisableItemList The toolbar items needed to be disabled going to this string. Example DisableItemList="Bold, New, Delete"
Registered_AllowPasteHtml Specifies the manner in which the editor handles pasted text. If false, formatting is stripped when content is pasted into the editor. The default is true.
Registered_EnableContextMenu Specify whether the context menu is enabled. The context menu is not available in IE5.
Registered_EnableStripScriptTags Whether to enable the client script based HTML editor. If false, the Cute Editor will render as a regular textarea field instead of a WYSIWYG editor.
Registered_EditorOnPaste Specifies the manner in which the editor handles pasted text.
Registered_ReadOnly Specify whether the content is readonly
Registered_ShowBottomBar Specifies whether the Bottom Bar(Design, Html and Preview Mode tab) appear.
Registered_ShowHtmlMode Specifies whether the Html Mode tab appear
Registered_ShowPreviewMode Specifies whether the Preview Mode tab appear.
Registered_ShowTagSelector Specifies whether quick tag selector toolbar appear.


Properties applied to the member of the "Guest" role

Guest_AutoConfigure Auto configures the toolbar with a set of buttons. Provides a mechanism for rapidly autoconfigures the toolbar with a set of predefined buttons. For example to enable every toolbar button and menu, do this: editor1.AutoConfigure(Config.Full). Note that this method will affect properties of the editor, so it is usually best to call it before any other property or method.
Guest_SecurityPolicyFile Specify the Security Policy File which contains a configurable set of rules called security policy.
Guest_TemplateItemList Gets or sets the template or layout to use for the toolbars.
Guest_DisableItemList The toolbar items needed to be disabled going to this string. Example DisableItemList="Bold, New, Delete"
Guest_AllowPasteHtml Specifies the manner in which the editor handles pasted text. If false, formatting is stripped when content is pasted into the editor. The default is true.
Guest_EnableBrowserContextMenu Specify whether the context menu is enabled. The context menu is not available in IE5.
Guest_EnableContextMenu Specify whether the context menu is enabled. The context menu is not available in IE5.
Guest_EnableStripScriptTags Whether to enable the client script based HTML editor. If false, the Cute Editor will render as a regular textarea field instead of a WYSIWYG editor.
Guest_EditorOnPaste Specifies the manner in which the editor handles pasted text.
Guest_ReadOnly Specify whether the content is readonly
Guest_ShowBottomBar Specifies whether the Bottom Bar(Design, Html and Preview Mode tab) appear.
Guest_ShowHtmlMode Specifies whether the Html Mode tab appear
Guest_ShowPreviewMode Specifies whether the Preview Mode tab appear.
Guest_ShowTagSelector Specifies whether quick tag selector toolbar appear.


Properties applied to all members

AccessKey Gets or sets the access key (underlined letter) that allows you to quickly navigate to the Web server control.
ActiveTab Gets or sets which Tab is active (Edit/Code/View). Read/write.
AllowPasteHtml Specifies the manner in which the editor handles pasted text. If false, formatting is stripped when content is pasted into the editor. The default is true.
AutoConfigure Auto configures the toolbar with a set of buttons. Provides a mechanism for rapidly autoconfigures the toolbar with a set of predefined buttons. For example to enable every toolbar button and menu, do this: editor1.AutoConfigure(Config.Full). Note that this method will affect properties of the editor, so it is usually best to call it before any other property or method.
AutoParseClasses Specify whether or not the Cute Editor should automagically parse the CSS classes from EditorWysiwygModeCss and populate all items into CssClass dropdown
BackColor Gets or sets the background color of the Web server control.
BorderColor Specifies the color of the border around the outside of the Cute Editor
BorderStyle Specifies the style of border used around the outside of the Cute Editor
BorderWidth Specifies the width of the border around the outside of the Cute Editor
BreakElement Specify the behavior when the "enter" key is pressed in the editor The default is BreakElement.Div.
CodeViewTemplateItemList The toolbar items used in the editor Code View going to this string. Example CodeViewTemplateItemList="Save,Print,Cut,Copy,Paste,Find,ToFullPage,FromFullPage,SelectAll
ConfigurationPath Specifies the directory path which contains XML file (*.config). The XML file defines the toolbar appearance. Developers can use this property to specify a directory to store custom configuration files.
CultureType This property sets the behavior for determining how the current culture is chosen for the CuteEditor. Server uses the The System.Threading.Thread.CurrentThread.CurrentCulture.Name , Client uses language settings from the clients browser Page.Request.UserLanguages[0] , Custom: You can use the Editor.CustomCulture property to specify the culture in the current thread.
CustomCulture Specify the culture name Only available when Editor.CultureType=CultureType.Custom
DisableAutoFormatting By default Cute Editor will carefully analyze all of your HTML code and begin correcting all errors automatically. What you get is professionally presented code, properly reformatted and ready for use. If you want to preserve the formatting of existing HTML, you can turn this feature off by setting Editor.DisableAutoFormatting property to "true".
DisableClassList The class items in the CssClass dropdown needed to be disabled going to this string. Example DisableClassList="BreadCrumb, TopicMenu, Footer"
DisableItemList The toolbar items needed to be disabled going to this string. Example DisableItemList="Bold, New, Delete"
DownLevelColumns Gets or sets the columns property of the downlevel TEXTAREA
DownLevelRows Gets or sets the rows property of the downlevel TEXTAREA
EditorBodyStyle The style to be applied to the Editor body.
Enabled Gets or sets a value indicating whether the Web server control is enabled.
Focus Specifies whether the editor grabs focus when the page loads. If this property is set to true then the editor will take focus, if it is set to false it will not.
FullPage Specify the FullPage state
Height Specifies the height of the Cute Editor control on the page.
HelpUrl Specify the url when the help button click
MaxHTMLLength Gets or sets the maximum number of characters including the HTML tags allowed in the Cute Editor. Default is zero, indicating no maximum.
MaxTextLength Gets or sets the maximum number of characters excluding the HTML tags allowed in the Cute Editor. Default is zero, indicating no maximum.
PlainText Retrieves the CuteEditor HTML content in plain text format.
PrintFullWebPage By default Cute Editor will print the content in the editing area only. When this property is set to true, Cute Editor will print the whole web page.
ReadOnly Specify whether the content is readonly
RemoveTBODYTag By default Internet Explorer HTML parser automatically insert TBODY tag after any table tag. When this property is set to true, CuteEditor strips out the TBODY tags.
RenderRichDropDown Specify whether the dropdown render as rich style . IE5 always use simple select element.
ShowCodeViewToolBar Specifies whether toolbars in the Cute Editor Code View are visible
ShowDecreaseButton Specifies whether the Decrease editing window button appear.
ShowEnlargeButton Specifies whether the Enlarge editing window button appear.
ShowToolBar Specifies whether toolbars in the Cute Editor control are visible
TabIndex Gets or sets the tab index of the Web server control.
ThemeType Sets the theme for how the toolbar is draw. You can create your custom skin or choose from predefined themes: Custom / Office2000 / OfficeXP / Office2003 / Office2003_BlueTheme
ToggleBorder Specify the ToggleBorder state
UseHTMLEntities By default Cute Editor maps most special characters to the equivalent HTML entity automatically. You can turn it off by setting this property to "false".
UseHttpHandlerCacheImages By default Cute Editor will use HttpHandler process the image files on the server side. You can turn this feature off by setting this property to falsee.
URLType Specify whether the URL should be converted to a site root relative path (/html/images/image1.gif) or an absolute path (http://www.mysite.com/images/image1.gif).
UseSimpleAmpersand W3C recommend that all '&' in query strings be converted to & This is the only way to get a piece of HTML validated. The reason is that & is the start of an HTML entity, such as £

So this:
            
    <ahref="page.aspx?var1=one&amp;va­r2=two">link</a>
is valid, whereas:
    <ahref="page.aspx?var1=one&var2=t­wo">link</a>
isn't.
If you still want to use simple Ampersand in query strings, you can set this property to true. if you want to retrieve the CuteEditor HTML content in XHTML format, the 'UseSimpleAmpersand' property will be ignored.