Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ColdFusion Rich Text Editor

Posted on 2009-03-31
5
Medium Priority
?
308 Views
Last Modified: 2013-12-20
I have a question... I'm using the coldfusion rich text area... but is there a way no to display a double paragraph when the user press the Enter key?

Because right now it gives too much space after you press enter.
0
Comment
Question by:Trexgreen
  • 3
5 Comments
 
LVL 39

Expert Comment

by:gdemaria
ID: 24028409
Hold the shift key down to single space
0
 
LVL 11

Expert Comment

by:level9wizard
ID: 24028410
There is likely a soft-return button. Otherwise, try pressing Shift+Enter.
0
 
LVL 39

Accepted Solution

by:
gdemaria earned 1200 total points
ID: 24028450
If you want to change it permanently...

Find the fckconfig.js file:

Then find the line that sets the "EnterMode".  It will look like this:

FCKConfig.EnterMode = 'p' ;

Change that to this:

FCKConfig.EnterMode = 'br' ;

The other option is to use "div".

0
 
LVL 39

Expert Comment

by:gdemaria
ID: 24028454
Of course you could also use css to style the <p> paragraph tag to have less space in between,  if you're only trying to reduce the space, but still want the seperation
0
 

Author Comment

by:Trexgreen
ID: 24038546
gdemaria.. I want to make the changes permanently, so I will try that.

Thank you
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What You Need to Know when Searching for a Webhost Provider
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question