stefanogualdi / grails-ckeditor

Grails CKEditor plugin
http://grails.org/plugin/ckeditor
Apache License 2.0
23 stars 32 forks source link

default tag for enter/return key #6

Closed halfbaked closed 11 years ago

halfbaked commented 11 years ago

Hi Stefano,

this plugin in saving me time so thanks for that.

The only issue I have right now is that it appears the default for the enter/return key is to create a paragraph tag (p) rather than a break line (br) tag as is expected according to the docs:

http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.enterMode

I wonder if are aware of this, and are perhaps setting the behavior somewhere to be other than is expected.

halfbaked commented 11 years ago

I see I was wrong in my assertions. Setting this as an attribute of the editor tag works: enterMode="CKEDITOR.ENTER_BR"