[Seaside] Using the EditArea Javascript library

Carl Gundel carlg at libertybasic.com
Sat Jun 7 20:31:44 UTC 2008

I'm trying to use the EditArea Javascript code editor (check it out at http://www.cdolivet.net/editarea) 
  but it's not clear at all to me how to write the Seaside code to  
make it work.

Here is the example used in the documentation to show how the control  
is placed into a page.  Any recommendations?

-Carl Gundel

<title>EditArea Test</title>
<script language="javascript" type="text/javascript" src="/editarea/ 
<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
<form method="post">
	<textarea id="textarea_1" name="content" cols="80" rows="15">
/*This is some css that will be editable with EditArea.*/
body, html{
	margin: 0;
	padding: 0;
	height: 100%;
	border: none;
	overflow: hidden;


More information about the seaside mailing list