eWebEditor Manual V11.2 : Developer Guide : Object Reference of EWEBEDITOR : Properties and Methods of EWEBEDITOR : Properties of EWEBEDITOR
eWebEditor Home >> eWebEditor Manual V11.2 >> Developer Guide >> Object Reference of EWEBEDITOR >> Properties and Methods of EWEBEDITOR

3.6.2.1 Properties of EWEBEDITOR

Attribute Name

Explanation

Version

Version number of the software, character , such as " 8.0 "

ReplaceByClassName

Replace the class name, character type, for the replacement of automatic style class name, the default value is" ewebeditor"

<textarea class="ewebeditor"></textarea>

The text box of class="ewebeditor" will be automatically replaced by the editor

ReplaceByClassEnabled

Whether to enable the replacement of the automatic style class name. Boolean type. The default value is true

BasePath

Base path of the editor directory, type of character. The default program will automatically detect the path, you can manually set this path, while using a special method call, but you can't automatically take it. For examples:

EWEBEDITOR.BasePath = "../ewebeditor/";

Methods Employed:

EWEBEDITOR.<Property Name>

Example:

<script type="text/javascript">

alert(EWEBEDITOR.Version);    //alert the version

EWEBEDITOR.BasePath = "../ewebeditor/";      //Set base path

ReplaceByClassName = "myclassname";

ReplaceByClassEnabled = false;

</script>