Preview Mate
Version 4.1.0
November 19, 2024
Added
- Added automatic tab selection in live preview when clicking preview blocks that belong to different tabs.
Version 4.0.0
November 13, 2024
The attribute name for tracking preview blocks has been changed from
preview-block-id
todata-preview-block-id
Breaking Changes
- Changed the attribute name for tracking preview blocks from
preview-block-id
todata-preview-block-id
. Update your template code accordingly. craft.previewMate.previewBlock
twig variable now returns the HTML attribute withdata-
prefixed to match the newdata-preview-block-id
attribute.
Version 3.0.2
November 13, 2024
Updated
craft.previewMate.previewBlock
twig variable now usesCraft::$app->request->isPreview
internally to check if the current request is a preview request.
Version 3.0.1
November 11, 2024
Removed
- Remove CP Settings
Version 3.0.0
November 11, 2024
Fixed
- Support for Craft CMS 5.
Added
- Added documentation for Craft CMS 5 usage.
- Added
preview-block-id
HTML attribute. This is now the default way to connect live preview blocks to editor blocks (also a much cleaner approach).Changed
- Twig variable
craft.previewMate.previewBlock
now requires an\craft\elements\Entry
argument which will add thepreview-block-id
attribute to the HTML element.Removed
- Removed
config/preview-mate.php
. No longer needed after addingpreview-block-id
.
Version 2.0.0
March 26, 2024
- Added support for Craft CMS 5.0 or later.
Version 1.0.2
February 7, 2024
Fixed
- Exception when iframe content is not fully loaded on large pages.
Version 1.0.1
December 19, 2022
Fixed
- Exclude nested editor matrix blocks from query. Edge case occured when using Matrix -> Super Table -> Matrix.
Removed
- Craft tests
Version 1.0.0
October 31, 2022
Added
- Initial release
- Click Preview Block and scroll to the corresponding Editor Block