Ticket #390 (closed Bug: fixed)

Opened 8 years ago

Last modified 7 years ago

Text align should respect EnterMode=br rules

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

Description

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

comment:1 Changed 8 years ago by fredck

  • Keywords Confirmed IE added; text align removed
  • Milestone set to 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 7 years ago by fredck

  • Component changed from General to Core : Styles

comment:3 Changed 7 years ago by fredck

  • Owner set to martinkou
  • Summary changed from Text align in IE (6 and 7) to Text align should respect EnterMode=br rules

comment:4 Changed 7 years ago by martinkou

  • Status changed from new to closed
  • Resolution set to fixed

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy