I know that there are already richtext plugins for grails like RichUI, CKEditor, FckEditor etc, but is there any plugin which binds itself with grails so well that when I can use a rich textbox just by specifying widget attribute under the constraints clause
Example
static constraints = {
dateCreated display:false
lastUpdated display:false
question nullable:true, widget:"richtext"
}
I don’t know of such a feature, but I guess you can solve this by yourself:
install-templatesto get the scaffolding (andgenerate-all) templates http://grails.org/doc/latest/ref/Command%20Line/install-templates.htmlrenderEditor.templateand in this a method calledrenderStringEditorwidgetconstraintWould be a nice addition to the existing plugins.
btw: FckEditor seems to be a little bit old and I guess CKEditor should be used instead.