eWebEditor Home >> eWebEditor Manual V11.2 >> Developer Guide >> Object Reference of EWEBEDITOR

3.6.3 EWEBEDITOR.Config Object

EWEBEDITOR.Config are used for setting and get the default configuration of the editor. When the configuration is not set to an instance method of create, insert, replace, etc., it will use this default configuration.

 

Default Configuration:

EWEBEDITOR.Config = {style:"coolblue", width:"100%", height:"350"};

 

Parameters Supported are:

Specific Parameters

width

Width of the editor

height

Height of the editor

display

Display style, if it is blank, it will show, if it is "none", it won't show.

linkid

The method used in Append, set the name of the associated form field <textarea>.

ewebeditor.htm? Parameter. See the chapter of [ integrated call ], the section descriptions of [Parameter Settings]

style

Style name for use can be standard style name or customized style name. If you use default coolblue, blank can be left.

originalfilename

form item name for the list of original uploaded files saved correspondingly, which must be of input type and can contain onchange events.

savefilename

form item name for the list of uploaded files saved correspondingly, which must be of input type and can contain onchange events.

savepathfilename

form item name for the list of uploaded file path saved correspondingly, which must be of input type and can contain onchange events.

extcss

Citing by external style table, it is the path file compared to eWebEditor directory. The file name is *.css

cusdir

Self-definition upload path interface.

The default setting of this function is closed. If you want to open it, you can use the upload path interface in the program and set the upload path dynamically. This function is usually applied in the multi-user system, and the files uploaded by different users are stored in distinct file folders.

skin

A specified interface skin is forced to use. When the value is valid, the skin settings of the background are invalid. Values can be set as follows: office2003, office2000, officexp, blue1, etc.

fixwidth

Call the fix width. Specify the width of the editing area, making the width of the background editing area consistent with that of the foreground display area. When the value is valid, set the background restriction invalid. Values can be set as follows: 500 px.

lang

A specified language pack is forced to use. When the value is valid, the language settings of the background are invalid. Values can be set as follows: zh-cn, zh-tw, da, nl, en, fr, de, it, ja, no, pt, ru, es, sv.

readonly

Set the read-only mode for the editor with two modes to choose:

readonly=1 : read-only mode, with status bar

readonly=2 : read-only mode, without status bar

skey

It is short for SessionKey, used for the advanced security Session interface, making the same user in the same website has different dynamic configurations in different page or different column. It complies with any letters or a string of number named by variables. Please see the detailed method of use in "advanced security Session interface" section.