Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 05:35:52 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: <P> instead of <br>  (Read 1102 times)
olivier

Offline Offline

Posts: 13


« on: August 29, 2007, 10:47:16 PM »

In the WYYSIWYG-editor and in the FCK there is automatically a <P>-code  when I want to start a new line. Of course I can replace that manually, but is it possible to change the settings so that there always will appear a <br> to make the text more compact?
Logged
doc
Guest
« Reply #1 on: August 29, 2007, 10:48:31 PM »

Hello,

ENTER:= <p>
ENTER+SHIFT:= <br />

Regards Christian
Logged
olivier

Offline Offline

Posts: 13


« Reply #2 on: August 31, 2007, 09:22:44 PM »

Christian, thanks for the quick answer.
Nevertheless it is helpful, it seems somewhat artificial. Is it possible to change code somewhere to get the <br/> as standard for the Enter-key?
Regards, Olivier
Logged
BerndJM

Offline Offline

Posts: 1764



« Reply #3 on: August 31, 2007, 09:42:21 PM »

Hi Olivier,

you can change it in:
modules/fckeditor/wb_config/wb_fckconfig.js

Code:
// specify HTML tag used for ENTER and SHIFT+ENTER key

FCKConfig.EnterMode             = 'p' ;        // allowed tags: p | div | br

FCKConfig.ShiftEnterMode         = 'br' ;          // allowed tags: p | div | br

It may be always a good idea to have a look for ...config... files if one want to configure something cheesy

Regards Bernd
Logged

In theory, there is no difference between theory and practice. But, in practice, there is.
olivier

Offline Offline

Posts: 13


« Reply #4 on: September 02, 2007, 03:03:02 PM »

Hi Bernd, thanks for your help and the tip to look in config-files - as a non-programmer usually I leave these files for the professionals, but ..
Regards, Olivier
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!