Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x]: Changes in matrix blocks in card view are not reflected in the live preview #16295

Closed
MoritzLost opened this issue Dec 9, 2024 · 3 comments
Assignees
Labels

Comments

@MoritzLost
Copy link
Contributor

What happened?

Description

Very similar issue to craftcms/ckeditor#331, but with Matrix fields.

Matrix fields set to cards view will not show any changes in the live preview until you click on save in the popup. Here's a screen recording:

live-preview-matrix.mov

Again, this is understandable from a technical perspective, but is broken from an author's point of view.

It's even worse when you have nested matrix fields set to cards view. In this case, you need to click two levels deep and save two levels of popups every time you want to actually see your changes.

Steps to reproduce

See above.

Expected behavior

For the live preview to be useful, it needs to take all changes into account, including draft changes in a popup. For an author, it's not reasonable behaviour that some changes are not immediately reflected in the live preview, regardless of the underlying technical limitations.

Actual behavior

The live preview doesn't take into accounts drafts in nested entries, despite being intended to show an author their current draft on the live site.

Craft CMS version

5.5.5

PHP version

8.3

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@brandonkelly
Copy link
Member

Thanks for the feedback. It’s working as expected, but I see your point.

I went ahead and got provisional changes to start showing up when previewing owner elements, for both Addresses and Matrix fields, for Craft 5.6. (a14ffb1)

@MoritzLost
Copy link
Contributor Author

@brandonkelly That's great, thanks Brandon!

@brandonkelly
Copy link
Member

Craft 5.6.0 is out with that change! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants