Magic Preview

magicpreview

  • By modmore
  • Latest release September 27, 2026 (1 month ago)

About

v1.3.0 — With Magic Preview, you get a new preview button on your resources. When clicked, it stores a temporary copy of the resource with your changes applied (without overwriting the published version) and opens a dynamically generated preview. Plus a toolbar to quickly see the page at different breakpoints.

Free extra

Magic Preview is free to use.

Installation & usage

After installation, click the preview button on any resource.

At a glance

MODX 3 compatible from v1.2.0.

  • Developer modmore
  • Latest release September 27, 2026 (1 month ago)
  • First seen in SiteDash December 16, 2018 (7 years ago)
  • License MIT
  • MODX support 265 – 300
  • Databases MySQL

Releases 17 indexed releases

Changelog
modmore

1.8.0-pl

September 27, 2026

1 month ago

Released on 2026-09-25

- Fix click_to_field breaking Fenom (and any other custom parser) output in previews. MagicPreview no longer replaces the MODX parser during a preview render. (#55)
- BREAKING: core resource fields and TVs are no longer marked clickable automatically. Mark them in your template with the new mpField snippet; see the readme for examples.
- Add mpField snippet, usable as a MODX tag or a Fenom modifier ({'pagetitle'|mpField})
- Add [[+mpClickToFieldAttributes]] placeholder for ContentBlocks field templates, so the attributes can go on your own element instead of an added wrapper. Works in inline, @FILE and @PDO_FILE templates, including Fenom ones, and gives @PDO_FILE fields a click target for the first time.
- Click to field now applies only to the preview panel. Previews in a new window, and a draft's View link, show the page without click targets.
- Fix click-to-field markers being stored in drafts and shown on public share links when click_to_field is on (since 1.7.0). Drafts saved by 1.7.x are cleaned automatically the first time they are read.
- Fix click-to-field markup being written to the live page's cache when a preview URL was opened after its preview data had expired, or when a preview was forwarded to another page such as the error page (since 1.7.0)
modmore

1.7.1-pl

July 10, 2026

3 months ago

Released on 2026-07-10

- Fix drafts and shares database tables not being created by the package installer (broken in 1.7.0 — upgrading creates the missing tables)
modmore

1.6.0-pl

March 28, 2026

7 months ago

Released on 2026-03-28

- Add inline side panel preview mode with overlay and on-page layouts
- Add per-resource overrides for preview mode and panel layout
- Add auto-refresh with configurable interval
- Add drag-to-resize for the panel
- Add draft save/restore with Ctrl+Shift+S shortcut
- Add configurable draft TTL
- Add configurable icons for Save Draft and View buttons
- Add Ctrl+P keyboard shortcut for preview
- Add Ctrl+Shift+S keyboard shortcut for saving a draft
- Add panel state persistence
modmore

1.5.1-pl

April 11, 2025

1 year ago

Released on 2025-04-11

- Fix placeholders showing the cached value instead of the change due to in-memory element cache not being cleared [79144aa]
modmore

1.5.0-pl

March 14, 2025

1 year ago

—
modmore

1.4.1-pl

December 13, 2024

1 year ago

Released on 2024-12-13

- Fixed a rendering issue with the new merged buttons (thanks to @jenswittmann) [#34]
modmore

1.4.0-pl

November 29, 2024

1 year ago

—
modmore

1.3.0-pl

November 19, 2022

3 years ago

Released on 2022-11-19

- Make preview width breakpoints configurable via system settings (thanks to @Peeet93) [#28]
modmore

1.2.4-pl

October 6, 2022

4 years ago

—
modmore

1.2.3-pl

July 15, 2022

4 years ago

—
modmore

1.2.2-pl

June 2, 2022

4 years ago

—
modmore

1.2.1-pl

November 29, 2021

4 years ago

—
modmore

1.2.0-pl

November 19, 2021

4 years ago

—
modmore

1.1.1-pl

November 16, 2021

4 years ago

—
modmore

1.1.0-pl

October 2, 2021

5 years ago

—
modmore

1.0.1-pl

December 18, 2018

7 years ago

—
modmore

1.0.0-pl

December 17, 2018

7 years ago

—