想把fckeditor导入到代码表单中,从前没接触过fck,请讲的详细一些,导入到HTML中和JSP中哪个更好,谢谢

来源:百度知道 编辑:UC知道 时间:2024/04/28 04:31:18
我不是太懂啊,导入到里面怎么没什么效果

<s:textarea label="内容" name="article.content.text" />
<script type="text/javascript">
var editor = new FCKeditor("article.content.text");
editor.BasePath = "http://www.mnnbaa.com/scripts/fckeditor/";
editor.Height = 380;
editor.ReplaceTextarea();
</script>
导入到jsp的代码