Install

Works with Drupal: ^11.2 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 595.53 KB
MD5: 31bb6b1b1eec3e3710e15bb611dd76e5
SHA-1: 016503d987600ddf2ab3a1037b5ae4f1a7f6981b
SHA-256: f1a3e5b2c3d3d417f46d779329a0c105747d916635b4863d0b302d46fdedc3e8
Download zip 675 KB
MD5: ff4299b95092e982d68b82a51c65267a
SHA-1: 7e581112d9bcc12ad1eb039afc6e1eb742e9de65
SHA-256: b02bd9b654b8598f2ffa65cd7013ae70fb7d060fd261eb23f473d50493cb3103

Release notes

First stable release of Same Page Preview 3 for Drupal 11, bringing together the editor workflow, accessibility, settings and compatibility improvements from five release candidates.

Highlights

  • Preview content beside the editing form, including new nodes and incomplete drafts, while retaining normal validation when saving.
  • Preserve the selected view mode across refreshes, form rebuilds and new-window previews.
  • Refresh after committed Paragraphs and tabledrag reordering, with loading feedback during preview refreshes.
  • Improve narrow, full-screen and RTL layouts.
  • Provide keyboard access, skip-to-preview navigation, named preview landmarks, current frame context, focus return and repeatable polite close feedback.
  • Configure site-wide display defaults, Settings visibility and allowed view modes.
  • Respect per-content-type settings, including Drupal core’s “Preview before submitting” setting.
  • Improve Domain Source, Responsive Preview and Site Studio coexistence, and support browsers where local storage is blocked.

Changes since rc5

Runtime behavior is unchanged from rc5. This release adds optional Canvas regression coverage and execution evidence for issue #3619941. The tested preview path already prevents stale render-cache reuse and unsaved content entering the public render cache; no production cache hook was needed.

Requirements and upgrading

  • Requires PHP 8.3 or newer and Drupal ^11.2 || ^12. Drupal 10 sites should remain on the 2.1.x release line until upgrading core.
  • Install or upgrade with composer require 'drupal/same_page_preview:^3.0', then run drush updb and drush cr.
  • Updates 8001 through 8003 validate stored content-type settings and add display defaults while preserving existing behavior. There are no new database updates or configuration changes since rc5.
  • Custom integrations calling the removed procedural hooks must migrate to the object-oriented hooks in src/Hook/SamePagePreviewHooks.php.

Validation and known limitations

GitLab CI passes for current Drupal, Drupal 11.3.18 and the Drupal 12 next-major test lane. All 80 JavaScript regression tests pass. Windows NVDA evidence and the Canvas cache-isolation investigation are included in the repository.

The Drupal 12 constraint permits next-major testing; complete Drupal 12 and HTMX 4 compatibility are not claimed. HTMX 4 and live Site Studio Layout Canvas support are planned for 4.x.

Settings popover presentation, preview zoom, device-width presets and VoiceOver/Safari coverage remain follow-up work. Preview text-format access checks cover node text fields; text fields inside nested entities such as Paragraphs remain a known limitation.

Created by: cosmicdreams
Created on: 29 Oct 2026 at 19:29 UTC
Last updated: 29 Oct 2026 at 19:29 UTC
New features

Other releases