Skip to Main Content

PeopleSoft Enterprise

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

CKEDITOR - How to change the behavior of Enter key?

user4652997Mar 25 2016 — edited Apr 7 2016

Hi,

First question:

I'm using a rich text field on a page. (CKEDITOR)

How can I change the behavior of the enter key to insert br elements instead of paragraph elements?

Second question:

I also want to prevent that the CKEDITOR places very long HTML tags around my input text, when I choose a certain font/size.

Like this:

<p><span style="font-size: 10px"><span style="font-family: trebuchet ms,helvetica,sans-serif"><span style="font-size: 10px"><span style="font-family: trebuchet ms,helvetica,sans-serif">text ....

Because we use this string later In BI Publisher to create letters. And the max size of the field is 4K. And because of those long HTML tags we can't put enough text in it.

The first question is the most important one, because it creates too much spaces between every sentence in our letter..

This post has been answered by Sasank Vemana on Mar 25 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 5 2016
Added on Mar 25 2016
6 comments
883 views