I followed the installation documentation for FCKEditor, but they do not seem to work.
I see my textarea, but its not a WYSIWYG. All my paths are correct. I'm using the latest version of FCKEditor. My HTML is below:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
I see my textarea, but its not a WYSIWYG. All my paths are correct. I'm using the latest version of FCKEditor. My HTML is below:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- I've tried with and without this next line -->
<script type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script type="text/javascript">
<!--
window.onload = function()
{
var oFCKeditor = new FCKeditor('article');
oFCKeditor.ReplaceTextarea() ;
}
-->
</script>
</head>
<body>
<form method="post" action="editArticle.php?">
<textarea id="article" name="article"></textarea>
<input type="Submit" name="saveDetails" value="Save">
</form>
</body>
</html>
