The attributes below are optional when calling soEditor. Attributes that are new to this release are bold.

 

Attribute

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.

font

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

Address, Bulleted List, Definition, Definition Term, Directory List, Formatted, Heading 1, Heading 2, Heading 3, Heading 4, Heading 5, Heading 6, Menu List, Normal, Numbered List, Paragraph

Sets the format values to be included in the format list pull down.

formatListLabels

 

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 (8pt), 2 (10pt), 3 (12pt), 4 (14pt), 5 (18pt), 6 (24pt), 7 (36pt)

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.