Reputation: 1926
Currently in CKEDITOR when I type "Hello
World!"
The source is
<p>Hello</p>
<p> </p>
<p>World!</p>
<p> </p>
I've looked almost everywhere and what I'd like is
"Hello
World!"
to render
<p>Hello<br>World!</p>
or
<p>Hello</p><br><p>World!</p>
Upvotes: 0
Views: 1225
Reputation: 1591
The shift + enter key is indeed what your looking for like chrisLTD suggested. But if you like to configure it.
Here you can find a explanation of the enter key configurations and how to configure. http://ckeditor.com/ckeditor_4.1rc/samples/plugins/enterkey/enterkey.html
CKEDITOR.replace( 'textarea_id', {
enterMode: CKEDITOR.ENTER_BR
});
Upvotes: 1
Reputation: 433
Try holding down shift while pressing enter.
More info on the CKEditor forum's here.
Upvotes: 0