-% if ( $type eq 'html' ) {
-
-% #init
- <SCRIPT TYPE="text/javascript" src="<% $p %>elements/fckeditor/fckeditor.js">
- </SCRIPT>
-
-% #editor
- <SCRIPT TYPE="text/javascript">
- var oFCKeditor = new FCKeditor('value');
- oFCKeditor.Value = <% $value |js_string %>;
-
- oFCKeditor.BasePath = '<% $p %>elements/fckeditor/';
- oFCKeditor.Config['SkinPath'] = '<% $p %>elements/fckeditor/editor/skins/silver/';
- oFCKeditor.Height = '800';
- oFCKeditor.Config['StartupFocus'] = true;
-
- oFCKeditor.Create();
-
- </SCRIPT>
+% #if ( $type eq 'html' ) {
+% if ( 0 ) { #this seems to broken, using a text editor for everything for now
+
+ <% include('/elements/htmlarea.html',
+ 'field' => 'value',
+ 'curr_value' => $value,
+ 'height' => 800,
+ )
+ %>