Ticket #2590 (closed Bug: duplicate)

Opened 2 months ago

Last modified 2 months ago

FCKEditor changes the position of REL and ALT attributes on every edit

Reported by: Rajiv Owned by:
Priority: Normal Milestone:
Component: Core : Output Data Version: FCKeditor 2.4
Keywords: Confirmed Cc:

Description

The FCKEditor changes the positioning of REL, ALT attributes everytime I edit the content. Following is an example:

FIRST

<a href="/blakish/sites/files/shared/gallery/g-PIC00002.jpg" rel="lightbox[gallery-1][Caption Here]"><img height="57" width="75" class="thumbnail" src="/blakish/sites/files/shared/gallery/tn1-PIC00002.jpg" alt="" /></a>

SECOND

<p><a rel="lightbox[gallery-1][Caption Here]" href="/blakish/sites/files/shared/gallery/g-PIC00002.jpg"><img height="57" width="75" alt="" src="/blakish/sites/files/shared/gallery/tn1-PIC00002.jpg" class="thumbnail" /></a>

Notice the position of "rel" attribute. It is coming after the href attribute in the first version and it is coming before the href attribute in second version. The FCKEditor just flip flop between the two versions every time I click on edit. This makes it impossible for us to keep a version history of changes.

I tried setting both FCKConfig.FormatSource, FCKConfig.FormatOutput to true and false but it did not make any difference.

Rajiv

Change History

Changed 2 months ago by arczi

  • keywords Confirmed added
  • priority changed from High to Normal
  • version set to FCKeditor 2.4

Changed 2 months ago by alfonsoml

  • status changed from new to closed
  • resolution set to duplicate

dup of #1810

Note: See TracTickets for help on using tickets.