Ticket #1810 (closed New Feature: fixed)

Opened 6 years ago

Last modified 5 years ago

Play well with diff tools

Reported by: fredck 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

comment:1 Changed 6 years ago by fredck

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

comment:2 Changed 6 years ago by 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 6 years ago by alfonsoml

#2533 has been marked as dup

comment:4 Changed 6 years ago by alfonsoml

#2590 has been marked as dup

comment:5 Changed 5 years ago by arczi

Similar bug: #2788

comment:6 Changed 5 years ago by arczi

#2929 has been marked as DUP.

comment:7 Changed 5 years ago by arczi

#3547 has been marked as DUP.

comment:8 Changed 5 years ago by garry.yao

Seems works well in v3.

comment:9 in reply to: ↑ description Changed 5 years ago by arczi

Yes. It seems work in v3.

comment:10 Changed 5 years ago by fredck

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to CKEditor 3.0

Yes, this is supposed to be a V3 feature.

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy