The Common Task QuickStart is designed to help you quickly find the answers to your most frequent programming questions. This section may be used as a topical reference. If there are topics not addressed here that you'd like to see in future releases, please drop us an email at [email protected] .
Please check the Editor.EditorBodyStyle
and EditorWysiwygModeCss property.
Editor.EditorWysiwygModeCss Property
Specifies the location of the style sheet that will be used by the editable area.
Multiple Style Sheets are supported. Example EditorWysiwygModeCss="example.css,~/portal.css,/default.css"
Editor.EditorBodyStyle Property
The style to be applied to the Editor body.
Cute Editor uses default font of the current page. The default font of web page is Times new roman. If you want to change the default font from Times new roman to Verdana, you can add the following code into the style sheet file:
By default Cute Editor automatically inserts a certain number of " " characters when user clicks the tab key.
If you want to modify the behavior of the TAB key within the CuteEditor box so that it tabs out of the box to the next control in the page, please set Editor.TabSpaces property to -1.
< BR> Editor1.TabSpaces= "-1"
Please set the Editor.PrintFullWebPage Property to true.
Please set the Editor.Focus Property to true.
When you're creating links to documents and images on the Web, you need to think
about how you're going to link to them.
CuteEditor supports three standard ways to create links:
To create links correctly in CuteEditor, you need to use Editor.URLType Property and URLType Enumeration.
Default | The URL is not converted. |
SiteRelative | The URL is converted into a site root relative path. A site root relative path describes the location of the destination file by describing the route the browser must take from the Web site's root folder (top level in the folder structure). For example, a site root-relative path to an image may appear as: /html/images/image1.gif |
Absolute | The URL is converted into an absolute path. An absolute path describes the physical location of a file on a machine or the exact location of a file on the Internet. An absolute path on your hard drive might appear as: An absolute path might appear as: http://www.mysite.com/images/image1.gif |
Example:
Editor1.URLType= "Absolute"
Please open CuteSoft_Client\CuteEditor\Scripts\Constant.js\Constant.js file and
modify the following code:
//By default, when users double click a control, a tag
property dialog will open. Set it to true if you want to disable this feature.
editorconstant.DisableDoubleClickEvent = false;
Please open CuteSoft_Client\CuteEditor\Scripts\Constant.js\Constant.js file and
modify the following code:
editorconstant.DisableCtrlZ = false;
Please set the Editor.AllowEditServerSideCode Property to true.
By default Cute Editor doesn't allow edit the Server side code. When this property is set to true, Cute Editor will allow edit the Server side code. (<%@ Page Language="C#" %> <%=MyString %> <asp:textbox id="textbox1" runat="server"></asp:textbox>)
Please set the Editor.RemoveTBODYTag Property to true.
Please set the Editor.UseSimpleAmpersand Property to true.
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:
<br><ahref="page.aspx?var1=one&var2=two">link</a>
isvalid,whereas:<br><ahref="page.aspx?var1=one&var2=two">link</a>
isn't.