Craft 6: Compare View

Compare is a new screen in Craft 6 that places two versions of an element side by side as real editor panes: a draft against the current entry, two revisions, your unsaved changes against the saved entry, or the same entry in two sites. Changed fields are marked, and you can copy a value from one version into the other.

Com­pare is a new screen in Craft 6 that places two ver­sions of an ele­ment side by side as real edi­tor panes: a draft against the cur­rent entry, two revi­sions, your unsaved changes against the saved entry, or the same entry in two sites. Changed fields are marked, and you can copy a val­ue from one ver­sion into the other.

In this video, I cover:

  • The Ver­sions pan­el (for­mer­ly Revi­sions) and the new Com­pare changes option
  • Com­par­ing a draft with the cur­rent entry, tog­gling between drafts, and revers­ing the comparison
  • Changed badges, and copy­ing a field val­ue from one ver­sion into the other
  • How rela­tion fields show reordered items with a line con­nect­ing their positions
  • Com­par­ing a revi­sion with the cur­rent entry
  • Which side is editable: the new­er ver­sion is a live edi­tor with autosave and Save when you can save it, and revi­sions are always read only
  • Ver­sion and site menus, and swap­ping sides
  • Com­par­ing across sites, includ­ing asset alt text, which replaces the old Copy val­ue from site action
  • How per­mis­sions decide which ver­sions and sites appear
  • The stacked lay­out on nar­row screens

One note for plu­g­in devel­op­ers: plu­g­in fields aren’t auto­mat­i­cal­ly copy­able. A cus­tom field con­trol has to opt in to Craft’s read­able and writable val­ue behavior.

Com­pare doesn’t replace drafts or work­flows. Those still con­trol how changes move toward pub­li­ca­tion. Com­pare gives review­ers a clear­er place to decide what should sur­vive and go live.

Find all of the Craft 6 videos at craftquest.io/craft‑6.

Transcript

Premium

Follow along with the full transcript

Search every word, click any line to jump to that moment, and read along as you watch. A CraftQuest Premium feature.

Sign up for Premium