Thursday, March 28 in 2024
LEPTON CMS
Modul: Editarea
Author: John Maats
Nick: pcwacht
Version: 0.3
State: Beta
License: GNU - General Public License
Platform: 2.7
Last info: 2010-07-23
Rating:
61.0
619 votes
1 2 3 4 5
Download: here
Forum: here
Description: Here is EditArea, a free javascript editor for source code. (This is not a WYSIWYG editor).

This editor is designed to edit souce code files in a textarea. The main goal is to allow text formatting, search and replace and real-time syntax highlight.

This is simular to CodePress wich comes with wb2.7 but with some nice twists
- much easier to integrate
- php highlighting can work without php tags, thus easier for code module and droplets module
- fullscreen mode
- toggle syntaxhighlighting on / off


Info: Have a look at the forum thread since there is some discussion at the moment to see where to put editarea, in include or in modules.

There is allso a much smaller zip created by Thorn wich is ment for ftp-ing to the include directory

Recreated the zip to work from the include directory
Install instructions,
- download
- unzip
- upload the editarea folder from the zip to the include folder on your wb install

Usage instructions (minimum):
Put this somewhere in the beginning of your script:

// Editarea
if(file_exists(WB_PATH .'/includes/editarea/edit_area_full.js')) {
echo '
';
}

Adapt the textarea id, syntax to your likings

Look at http://www.cdolivet.net/editarea/ for more info