The properties below are optional when calling soEditor.
|
Property |
Default |
Description |
|
Align |
true |
Toggles whether to display the align button. |
|
Anchor |
true |
Toggles whether to display the anchor button. |
|
BaseBGColor |
|
Sets the default background color to be used in soEditor. |
|
BaseFont |
|
Sets the default font to be used in soEditor. |
|
BaseFontColor |
|
Sets the default font size to be used in soEditor. |
|
BaseFontSize |
|
Sets the default font color to be used in soEditor. |
|
BaseURL |
|
Sets the base URL used to resolve relative links. |
|
BgColor |
true |
Toggles whether to display the background color button. |
|
Bold |
true |
Toggles whether to display the bold button. |
|
Borders |
true |
Toggles whether to display the border button. |
|
CellProp |
true |
Toggles whether to display the cell property button. |
|
Cols |
60 |
Sets the number of columns to display for the textarea field when the editor is viewed by non-supporting browsers. |
|
Copy |
true |
Toggles whether to display the copy button. |
|
Cut |
true |
Toggles whether to display the cut button. |
|
Delete |
true |
Toggles whether to display the delete button. |
|
DeleteCell |
true |
Toggles whether to display the delete cell button. |
|
DeleteColumn |
true |
Toggles whether to display the delete column button. |
|
DeleteRow |
true |
Toggles whether to display the delete row button. |
|
Details |
true |
Toggles whether to display the document details button. |
|
FGColor |
true |
Toggles whether to display the foreground color button. |
|
Find |
true |
Toggles whether to display the find button. |
|
Fonts |
true |
Toggles whether to display the font select box. |
|
FontDialog |
true |
Toggles whether to display the font dialog button. |
|
FontList |
Arial, Tahoma, Courier New, Times New Roman, Verdana, Wingdings |
Sets the list of font values to be included in the font pull down. |
|
FontListLabels |
|
Sets the labels of the FontList in the respective order. |
|
Format |
true |
Toggles whether to display the format button. |
|
FormatList |
none, h1, h2, h3, ,h5, h6, pre |
Sets the format values to be included in the format list pull down. |
|
FormatListLabels |
Normal, Heading 1, Heading 2, Heading 3, Heading 4, Heading 5, Heading 6, Formatted |
Sets the labels of the FormatList in the respective order. |
|
Height |
250px |
Sets the height of the editor. This can be a relative measurement such as "75%" or absolute as in "300px". |
|
Help |
true |
Toggles whether to display the help button. |
|
HR |
true |
Toggles whether to display the horizontal rule button. |
|
Html |
|
Sets the HTML content to be loaded into the editor to be edited. |
|
HtmlEdit |
true |
Toggles whether to display the HTML/Text edit button. |
|
Image |
true |
Toggles whether to display the image button. |
|
Indent |
true |
Toggles whether to display the indent button. |
|
InitialFocus |
false |
Toggles whether or not to give focus to the editor when the page loads. InitialFocus can also be used to set focus to another field in the same form. For example: InitialFocus="name" would give focus to the name field after loading. |
|
InsertCell |
true |
Toggles whether to display the insert cell button. |
|
InsertColumn |
true |
Toggles whether to display the insert column button. |
|
InsertRow |
true |
Toggles whether to display the insert row button. |
|
Italic |
true |
Toggles whether to display the italic button. |
|
Link |
true |
Toggles whether to display the link button. |
|
LinkList |
|
Sets the href values for a dynamic list of links available from the toolbar. |
|
LinkListLabels |
|
Sets the labels of the LinkList in the respective order. |
|
List |
true |
Toggles whether to display the list button. |
|
MergeCell |
true |
Toggles whether to display the merge cell button. |
|
New |
true |
Toggles whether to display the new button. |
|
PageEdit |
false |
Sets whether the html being edited includes the HTML, HEAD, and BODY elements. Set this attribute to true if you are editing an entire HTML document. |
|
Paste |
true |
Toggles whether to display the paste button. Defaults to true. |
|
Redo |
true |
Toggles whether to display the redo button. |
|
Rows |
10 |
Sets the number of rows to display for the textarea field when the editor is viewed by non-supporting browsers. |
|
Save |
true |
Toggles whether to display the save button. |
|
ShowBorders |
false |
Toggles whether to show table borders by default. |
|
SingleSpaced |
false |
When set to true, soEditor will break to the next line when enter is pressed. If set to false, soEditor will treat all breaks as new block elements, thus simulating the double spacing effect. Pressing Shift-Enter will also insert the alterative spacing. |
|
Size |
true |
Toggles whether to display the size button. |
|
SizeList |
1,2,3,4,5,6,7 |
Sets the size values to be included in the size list pull down. |
|
SizeListLabels |
1,2,3,4,5,6,7 |
Sets the labels of the SizeList in the respective order. |
|
SpellCheck |
false |
Toggles whether to display the spellcheck button. |
|
SplitCell |
true |
Toggles whether to display the split cell button. |
|
SubScript |
true |
Toggles whether to display the subscript button. |
|
SuperScript |
true |
Toggles whether to display the superscript button. |
|
Tables |
true |
Toggles whether to display the table toolbar. |
|
Underline |
true |
Toggles whether to display the underline button. |
|
Undo |
true |
Toggles whether to display the undo button. |
|
Unindent |
true |
Toggles whether to display the unindent button. |
|
Unlink |
true |
Toggles whether to display the unlink button. |
|
ValidateOnSave
|
false |
When set to true soEditor will throw an exception displaying the value of the ValidationMessage attribute if the editor does not contain any text when the form is submitted. |
|
ValidationMessage |
"Content is Required" |
Sets the text displayed to the user when trying to submit an empty editor with the ValidateOnSave attribute set to true. |
|
Width |
100% |
Sets the width of the editor. This can be a relative measurement such as "100%" or absolute as in "500px". |
|
WordCount |
true |
Toggles whether the word counter is displayed. |