Ticket #390 (closed Bug: fixed)

Opened 20 months ago

Last modified 15 months 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

Changed 20 months 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.

Changed 17 months ago by fredck

  • component changed from General to Core : Styles

Changed 15 months 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

Changed 15 months 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.