[ 
http://jira.magnolia.info/browse/MAGNOLIA-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16465#action_16465
 ] 

Gregory Joseph commented on MAGNOLIA-2143:
------------------------------------------

for the record, this is in the {{fckconfig.js}} file.

The defaults are:
FCKConfig.EnterMode = 'p' ;
FCKConfig.ShiftEnterMode = 'br' 

Which imho
 * are good defaults: semantically, paragraphs of text (i.e what you do when 
hit the enter/return key is, typographically, creating a new paragraph) should 
be surrounded by <p> tags. If you don't like the way it looks, learn and fix 
your css.
 * shows that you can even be nasty and work à la ms-word, force simple line 
breaks with the shift-enter key combination.

As for adding this to the configuration option... I supposed you meant at 
control level, but then again, there are plenty of other options which aren't 
supported right now - so supporting them all (and possibly aligning the options 
currently used with their actual name in fck) is probably a simpler and better 
option for us.  (adding this to the fck dialog itself would seem overkill - and 
probably just confusing for end users)

> FCK Editor should not surround text with a P-Tag
> ------------------------------------------------
>
>                 Key: MAGNOLIA-2143
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-2143
>             Project: Magnolia
>          Issue Type: Bug
>          Components: admininterface
>    Affects Versions: 3.5.4
>         Environment: Mg 3.5.4, FF, Mac OS X (Leopard), Tomcat 5.5
>            Reporter: Giancarlo Berner
>            Assignee: Philipp Bracher
>
> - Add some text
> - Save
> The fckEdit control surrounds the text with a P-tag. This is very disturbing 
> and should please be removed (or configurable).
> - Add some text
> - Click Enter
> - Add some more text
> The fckEdit add's P-Tags instead of BR tags. 
> Is there a configuration possibility, patch or other work around available?
> Thanks!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to