Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorUseBROnCarriageReturnUseBROnCarriageReturn
Previous
 
Next
New Post
2/14/2007 10:08 AM
 

Is there a way to use the option "UseBROnCarriageReturn"?  By default it uses <p> when the user hits the Enter button.  I would like for it to just use <br />.  I know there is an option in the file "fckconfig.js" called UseBROnCarriageReturn.  By default, it is set to false.  I set it to true, but I guess the DNN Provider code overrides it.

Thanks,

Brian

 
New Post
2/14/2007 5:54 PM
 

Wait for the next release:

"The advance Enter Key Handler is now being introduced. It gives you complete freedom to configure the editor to generate <p>, <div> or <br> when the user uses both the [Enter] and [Shift]+[Enter] keys. The new "EnterMode" and "ShiftEnterMode" settings can be use to control its behavior. It also guarantees that all browsers will generate the same output.

The UseBROnCarriageReturn configuration is not anymore valid. The EnterMode setting can now be used to precisely set the enter key behavior. "

Rob

 
New Post
2/16/2007 2:10 PM
 

I like using div as my FCKConfig.EnterMode.

This works great for typing in new text from scrach. When I hit enter it create a new div.

But when I edit old data (that was created using the old fckeditor) that has <p> in it already then it doesn't work.

Seems like if the html has <p> in it when you first load it into fckeditor, then it ignores FCKConfig.EnterMode and uses <p> on enter key.

 
New Post
5/6/2007 12:26 PM
 

the UseBROnCarriageReturn already works (1.0.9 has fckeditor 2.4.1)

The editor will try always to not change already created html. If there is P already inserted in the html code and the fckeditor tries to change it, then most people will find that behavior as a bug.


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorUseBROnCarriageReturnUseBROnCarriageReturn


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out