[MAGNOLIA-448] FCK editor makes <p> in ie and needs a lineBreak attribute for cms:out tag Created: 14/Jun/05  Updated: 17/Mar/09  Resolved: 16/Jun/05

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 2.1 Final
Fix Version/s: 2.1 Final

Type: Bug Priority: Major
Reporter: Philipp Bärfuss Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

FCK editor (current configuration) adds <br> in firefox and <p> in ie. this gives different results.

The current cms:out tag needs a lineBreak="" attribute for values stored with fckEditor. The reason is, that we manipulate the kupu result and we don't for fck editor.

I will do the same fck editor to make it consistence (this solves also the ie <p> problem)



 Comments   
Comment by Michael Aemisegger [ 14/Jun/05 ]

There is a never ending discussion on the FCKeditor help forum and the bug tracker about this, e.g. https://sourceforge.net/tracker/index.php?func=detail&aid=1203560&group_id=75348&atid=543653.

I think it makes sense to experience the users the same behaviour as in
word. On carriage return a paragraph is entered, hence the p
tag - on shift carriage return a soft break is entered,
hence the br tag.

IMHO, IE is producing the desired result.

Unfortunately, there is missing an option like
'UsePOnCarriageReturn' which would be effective on Firefox
and other browsers. I already filed a feature request and also will be working on that in the near future.

Comment by Michael Aemisegger [ 14/Jun/05 ]

If you really want to use <br/> in IE you can set the property
UseBROnCarriageReturn=true. But this will trigger oder problems, e.g. with lists and indents.

These problems strongly suggest the use of <p> on carriage return.

Comment by Philipp Bracher [ 16/Jun/05 ]

I fixed this before the rc1. Else the old content would not apear properly in the editor. It works now the same way as kupu does. The content is stored with linebreaks independent on <br> or <p> tags.

Generated at Mon Feb 12 03:17:31 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.