html editor
From SkyPHP
THIS INFORMATION IS NOT UP TO DATE!!!!
skyphp currently uses tinymce html editor.
<?
// include an html editor on the form page
$html_editor = array(
'id' = 'description',
// 'css' => '/modules/blog/blog.css',
'width' => 500,
'height' => 500,
'innerHTML' => $event['description']
);
include('modules/html_editor/html_editor.php');
?>
The value in the html editor will not submit properly unless the tinyMCE.triggerSave() javascript function is called before submitting. For example,
<input type="button" value="Save" onclick="tinyMCE.triggerSave(); save_primary_profile('event_form','event');" />
