Need some help with fckeditor
Need some help with fckeditor
- Subject: Need some help with fckeditor
- From: Mike Bobkiewicz <email@hidden>
- Date: Mon, 23 Jul 2007 15:36:34 +0200
Hi list,
I can´t bring fckeditor and WO 5.3 together on my OS X 10.4 machine. I
´ve copied the fckeditor folder and added it to the projects
webserver resources but anything I try just fails. Even the sample
which works from the apache directory on the same machine doesn´t
work. Maybe somebody could please point me out what I´m doing wrong.
The following code comes from an empty WOComponent to which I´ve
copied the code from the sample:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="WebObjects 5.3.1">
<title>Untitled</title>
<script type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
oFCKeditor.BasePath = 'fckeditor/fckeditor.js' ;
oFCKeditor.ReplaceTextarea() ;
</script>
</head>
<body>
<form action="sampleposteddata.asp" method="post" target="_blank">
<div>
<textarea name="FCKeditor1" rows="10" cols="80" style="width:
100%; height: 200px">This is some <strong>sample text</
strong>.</textarea>
</div>
<br />
<input type="submit" value="Submit" />
</form>
</body>
</html>
Please keep in mind, my knowledge with html and javascript is
somewhere around zero which may declare my problems. A little hint
how to use it with WOTextFields would also be very nice.
Best regards,
Mike Bobkiewicz _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden