In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
113 [In-Portal CMS] Admin Interfaces feature request always 2009-07-17 06:02 2009-10-03 07:56
alex  
alex  
normal  
closed 4.3.9  
fixed  
 
none 5.0.0  
http://www.fckeditor.net/forums/viewtopic.php?f=6&t=6869
0
0000113: FCKEditor behavior, when ENTER is pressed
Currently FCKEditor adds paragraph tags (p) around any text when text is entered OR ENTER is pressed in editor area. Alternatively when Shift+ENTER is pressed, then line break tag (br) is added. This is not very comforting especially, when additional margin is added to paragraph tags (p) by site css.

I propose to invert FCKEditor default behavior like this:
1. when ENTER is pressed, then normal line break (br) appears;
2. when Shift+ENTER is pressed, then and only then paragraph tag (p) should be inserted.
Mentioned above code should be added to "inp_fckconfig.js" file.

FCKConfig.EnterMode = 'br' ; // p | div | br
FCKConfig.ShiftEnterMode = 'p' ; // p | div | br


When such settings are already present in your version of this file, then they should be replaced with given ones.
Issue History
2009-10-03 07:56 administrator Note Added: 0000622
2009-10-03 07:56 administrator Status resolved => closed
2009-10-03 07:34 administrator Type @80@ => feature request
2009-07-19 05:55 alex version => 4.3.9
2009-07-19 05:55 alex Fixed in Version => 5.0.0
2009-07-19 05:55 alex Note Added: 0000137
2009-07-19 05:55 alex Status reviewed and tested => resolved
2009-07-19 05:55 alex Resolution open => fixed
2009-07-19 05:55 alex Changeset attached RC r11914
2009-07-17 16:17 Dmitry Status active => reviewed and tested
2009-07-17 16:17 Dmitry Assigned To => alex
2009-07-17 16:17 Dmitry Note Added: 0000131
2009-07-17 16:17 Dmitry Target Version => 5.0.0
2009-07-17 06:05 alex Additional Information Updated bug_revision_view_page.php?rev_id=102#r102
2009-07-17 06:03 alex Description Updated bug_revision_view_page.php?rev_id=100#r100
2009-07-17 06:02 alex Description Updated bug_revision_view_page.php?rev_id=99#r99
2009-07-17 06:02 alex New Issue
2009-07-17 06:02 alex Reference => http://www.fckeditor.net/forums/viewtopic.php?f=6&t=6869

Notes
(0000131)
Dmitry   
2009-07-17 16:17   
Please commit fix for this
(0000137)
alex   
2009-07-19 05:55   
Fix committed to RC branch. Commit Message:

Fixes 0000113: FCKEditor behavior, when ENTER is pressed
(0000622)
administrator   
2009-10-03 07:56   
Closing issues from 5.0.0 version, because version was already released.