Opened 16 years ago

Closed 15 years ago

#1810 closed New Feature (fixed)

Play well with diff tools

Reported by: Frederico Caldeira Knabben Owned by:
Priority: Normal Milestone: CKEditor 3.0
Component: General Version:
Keywords: Confirmed Cc:

Description

When opening content produced with the editor and simply saving it without changes, we should guarantee that the output data looks just like the input. Even changes in the text must touch only the changed point, not the rest of the document.

Another requirement is making it work even when opening the same content in different browsers.

Today, some things must be ensured for that:

  • Attributes order must not change. One solution for that would be ordering the attributes alphabetically (see #249).
  • Style attributes must have the same format. Style properties must be lowercased, spaces after ":" must be removed as well as the trailing semicolon (see #1709).
  • Whitespaces must be minimized and outputted by the output formatter only.

Change History (10)

comment:1 Changed 16 years ago by Frederico Caldeira Knabben

#1889 has been marked as DUP. It also proposes a simple fix for the attribute ordering issue.

comment:2 Changed 16 years ago by Ioannis Cherouvim

Hello

Any plans for this one? Mainly #249 which is making diffs huge. This was planned for milestone 2.7 but 2.7 is out of the game now.

thanks Ioannis

comment:3 Changed 16 years ago by Alfonso Martínez de Lizarrondo

#2533 has been marked as dup

comment:4 Changed 16 years ago by Alfonso Martínez de Lizarrondo

#2590 has been marked as dup

comment:5 Changed 15 years ago by Artur Formella

Similar bug: #2788

comment:6 Changed 15 years ago by Artur Formella

#2929 has been marked as DUP.

comment:7 Changed 15 years ago by Artur Formella

#3547 has been marked as DUP.

comment:8 Changed 15 years ago by Garry Yao

Seems works well in v3.

comment:9 in reply to:  description Changed 15 years ago by Artur Formella

Yes. It seems work in v3.

comment:10 Changed 15 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.0
Resolution: fixed
Status: newclosed

Yes, this is supposed to be a V3 feature.

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