Opened 17 years ago

Closed 17 years ago

#390 closed Bug (fixed)

Text align should respect EnterMode=br rules

Reported by: Spad-XIII Owned by: Martin Kou
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: Core : Styles Version: FCKeditor 2.4.2
Keywords: Confirmed IE Cc:


When using:

FCKConfig.EnterMode = 'br' ; FCKConfig.ShiftEnterMode = 'br' ;

aligning selection inside the text, doesn't work correctly.

I have a few lines of text which are seperated by br's. I then select one of those seperated lines and click on the align center button: all text is aligned center and in the source everything is wrapped inside <p align="center"> .. </p>

Using firefox, this works correctly: only the selected line is aligned center. Here a div with align=center is added around the selected text.

Is there any way around this? (besides using p instead of br as the FCKConfig.EnterMode)

Change History (4)

comment:1 Changed 17 years ago by Frederico Caldeira Knabben

Keywords: Confirmed IE added; text align removed
Milestone: FCKeditor 2.5

Confirmed with IE6. No problem with FF2.

There are no workarounds for it. It is supposed to be fixed by the new style system, still to be implemented.

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

Component: GeneralCore : Styles

comment:3 Changed 17 years ago by Frederico Caldeira Knabben

Owner: set to Martin Kou
Summary: Text align in IE (6 and 7)Text align should respect EnterMode=br rules

comment:4 Changed 17 years ago by Martin Kou

Resolution: fixed
Status: newclosed

Fixed with [834]. (Lots of patches there, so I'm only replying with the last one)

Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy