Sidebar Diff Revisions Viewer

Description

Sidebar Diff brings revision comparisons directly into the editor so you don’t have to leave your flow.

  • Always-visible panel in the editor sidebar
  • Live comparison of your current edits vs. last saved copy
  • Optionally compare against any revision from the dropdown
  • Per-block grouping with per-paragraph highlights (insertions and deletions)
  • Zero front‑end impact; editor-only assets
  • Improved diff highlighting with color-coded line indicators
  • Dark mode support for WordPress 6.8+ compatibility
  • Responsive design optimized for different screen sizes
  • Keyboard shortcuts (Ctrl+D/Cmd+D) to toggle diff panel quickly
  • Performance optimizations with lazy loading and debounced calculations

Why this isn’t a duplicate: Existing revision/workflow plugins (e.g., PublishPress Revisions) provide queues and separate compare screens. Sidebar Diff embeds an always-visible diff inspector inside the editor sidebar for continuous awareness.

Privacy

The plugin does not transmit data to third parties, set cookies, or track users. Editor-only scripts run for logged-in users with edit capabilities.

Captures d’écran

  • Sidebar panel showing block/paragraph diffs

Installation

  1. Upload the gutenberg-sidebar-diff-revisions-viewer folder to /wp-content/plugins/.
  2. Activate the plugin through Plugins Installed Plugins.
  3. Open any post in the Block Editor.
  4. Look for « Sidebar Diff » in the editor’s More menu (three dots) if it isn’t already visible.

FAQ

Does it change my content or save anything?

No. It only reads the current edited content and server-saved content/revisions and renders a visual diff in the editor UI.

Which baseline options are supported?

  • Last saved on server (default)
  • Last published (same as saved when post status is publish)
  • Choose a revision… (select any available revision)

What about custom blocks?

Custom blocks are supported. The diff is computed on serialized block HTML and split into paragraph-like segments for readability.

Performance considerations

Diffing is debounced and scoped to the editor. Extremely large posts may render a simplified/compact view. Lazy loading is implemented for large documents to improve performance.

How do I quickly toggle the diff panel?

Use Ctrl+D (Cmd+D on Mac) to quickly toggle the diff panel.

Avis

Il n’y a aucun avis sur cette extension.

Contributeurs & développeurs

« Sidebar Diff Revisions Viewer » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Historique des changements

1.0.2

  • Updated assets for WordPress.org plugin directory.
  • Improved compatibility with latest WordPress versions.
  • Minor bug fixes and enhancements.

1.0.1

  • Initial public release.

1.0.0

  • Initial public release.