Ticket #1810 (closed New Feature: fixed)
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:2 Changed 5 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:9 in reply to: ↑ description Changed 4 years ago by arczi
Yes. It seems work in v3.
comment:10 Changed 4 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.

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