Make your own free website on

Configuration reference

This document is the index/reference page for all available core configuration options in EditArea.

Configuration options

All configuration options below is to be placed within the init JavaScript call.

Initialization of EditArea

In order to initialize EditArea the following code must be placed within HEAD element of a document. The following example is configurated to convert the TEXTAREA element which has "textarea_1" as id into editor when the page loads. The "id" option is the only obligatory option.

<script language="javascript" type="text/javascript" src="/editarea/edit_area/edit_area_full.js"></script>
<script language="javascript" type="text/javascript">
	id : "textarea_1"		// textarea id
	,syntax: "css"			// syntax to be uses for highgliting
	,start_highlight: true		// to display with highlight mode on start-up

See the include document to learn more about the way to use the best script include.

If you want to convert several textarea on your webpage, just call several time the init function with a different id parameter.