grails 中使用fckeditor-0.8

到这个网址下载fckeditor-0.8

http://svn.codehaus.org/grails-plugins/grails-fckeditor/trunk/

下载后不要解压,

在cmd中进入你的项目目录

例如:D:/ProgramFiles/Groovy/demo>

用这个命令安装grails install-plugin fckeditor

安了这个插件后,在config.groovy中加入一句web.app.context.path="demo/"
demo是我的项目名称

在*.gsp文件中这样用就可以了

<fckeditor:editor    id='content' name='content' height="400" >13213</fckeditor:editor>

也可以看这个:http://www.grails.org/FCKeditor+plugin

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值