What happened?
Description
I had this issue (#15713) with the live preview and I've update my project to the version 5.5.0 to test the new features.
Changing the status of a block refresh the live preview (without a draft). I understand that the status is linked to the entry and not the draft. But if I am editing an existing block, the live preview isn't using the drafted version of the content.
And i've see another bug in the same flow. If you create a Matrix entry and leave it as a draft and open the live preview. If you drag the order of another block, the drafted entry is appearing in the live preview, but you can't open the panel to edit it because the draft was saved and publish. If you close the preview, your block is now active.
Video to show the steps: https://gauthier-robin.com/uploads/craftcms/live-preview.mov
Steps to reproduce
Editing
- Edit an entry with a matrix
- Open the live preview
- Edit a field in a matrix block
Status
- Create a matrix entry and leave it as a draft
- Open the live preview
- Drag the position of another block
- Try to open the draft block (Broken)
- Close the preview and check the status of the draft block.
Expected behavior
The preview is updated with the drafted content.
Actual behavior
Nothing is updated.
Craft CMS version
5.5.0
PHP version
8.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
What happened?
Description
I had this issue (#15713) with the live preview and I've update my project to the version 5.5.0 to test the new features.
Changing the status of a block refresh the live preview (without a draft). I understand that the status is linked to the entry and not the draft. But if I am editing an existing block, the live preview isn't using the drafted version of the content.
And i've see another bug in the same flow. If you create a Matrix entry and leave it as a draft and open the live preview. If you drag the order of another block, the drafted entry is appearing in the live preview, but you can't open the panel to edit it because the draft was saved and publish. If you close the preview, your block is now active.
Video to show the steps: https://gauthier-robin.com/uploads/craftcms/live-preview.mov
Steps to reproduce
Editing
Status
Expected behavior
The preview is updated with the drafted content.
Actual behavior
Nothing is updated.
Craft CMS version
5.5.0
PHP version
8.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions