Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Single Line Spacing in FCKEditor
Previous Previous
 
Next Next
New Post 4/18/2008 6:49 AM
User is offline keeperofstars
252 posts
9th Ranked


Single Line Spacing in FCKEditor 

Is there a way to have the FCKEditor default to only adding one line aka </br> instead of two lines <p> when a user presses the enter button? I know you can press space+enter to get a single line return but most of my typical clients don't and was asking me if there was a way to have it do single spacing by default.

Thanks

 
New Post 4/18/2008 7:20 AM
User is offline Will Strohl
1333 posts
Orlando.DotNetNukeUG.Net/
6th Ranked




Re: Single Line Spacing in FCKEditor 

Go and find the fckconfig.js file:

~/Providers/HtmlEditorProviders/FCK/FCKEditor/fckconfig.js

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".


Will LinkedIn profile
StrohlSiteDesign.com | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
New Post 4/18/2008 7:33 AM
User is offline Brad Montgomery
10 posts
10th Ranked


Re: Single Line Spacing in FCKEditor 
Modified By Brad Montgomery  on 6/3/2008 1:13:10 PM)

This behavior can be set in the fckconfig.js file located in \Providers\HtmlEditorProviders\Fck\FCKeditor.

The settings you are looking for are EnterMode and ShiftEnterMode, and should be located next to one another.  Setting EnterMode to br and ShiftEnterMode to p should result in your desired behavior, however the FCKeditor wiki gives a strong recommendation as to why EnterMode should be left at its default setting of p.

 


Brad Montgomery
Engage Software
St. Louis, MO
314.966.4000

 
New Post 4/19/2008 3:46 PM
User is offline keeperofstars
252 posts
9th Ranked


Re: Single Line Spacing in FCKEditor 

Thanks for the info. Just to note: and this could be part of my provider but I had to create a custom config file and set the customconfigpath before the changes would take place, but after doing that everything worked perfectly. I went with using <div> tags cause it still keeps things inclosed in blocks, but creates the single line option. I also use <div> tags for most of my custom style tags, so it fits right in to my compliance standards.

 
New Post 4/19/2008 4:36 PM
User is offline Will Sugg
91 posts
www.planetmaine.net
10th Ranked


Re: Single Line Spacing in FCKEditor 

Hey Star,

Check out this post. There is more that one place to change it!

Please, we really need a change in FCK: make it easy to pick the default font and size for an entire installation; make the default be <br> and not <p>. I have dozens and dozens of emails from clients on these issues. It is a major problem and time suck.

Thanks,

Will

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Single Line Spacing in FCKEditor
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNNhost Scandinavia
SUPER fast QuadCore DELL servers, MSSQL servers, DotNetPanel, daily backup, Check out our customers websites
DNNhost.dk
Personify Design, Inc.
Seattle-based Personify Design has developed customized DotNetNuke websites for a wide range of customers to meet many different types of needs, including distributed authorship across thousands of pages to integrated Verisign e-commerce capabilities.
www.personifydesign.com
DNN Outsourcing
50% more affordable services comparing to Western Europe and US: Custom DotNetNuke module development, skins, consulting, maintainence... Over 15.000 working hours of experience in custom DotNetNuke Solutions development, 8 years experience in outsourcing, excellent references!
www.dnnoutsourcing.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP