Problem with on-page editing / auto refresh / quick edit feature

Vote:
 

Hi All, 

Were in the middle of development currently, and have built several components on our website that are essentially a block type, containing a content area, within which several more blocks can be added - typical scenario - although when editing the block in the on-page editing view, with the use of preview rendering, we noticed that if a CMS user chooses to "quick edit" the blocks inside the content area, on making the changes and saving, the quick edit modal is closed, but the preview view isn't refreshed. 

This is the case even with the following being in place:

  • Projects is being used
  • FullRefreshPropertiesMetaData helper is being used 

The result is that they have to refresh the page themselves in order to see their changes. 

Is there any workaround for this? Is there a way I can force a refresh of the preview view for the parent block, when a child block is edited and saved using the quick edit feature? 

Thanks,

Paul 

#332705
Nov 11, 2024 17:53
Vote:
 

Paul,

Just few basic things to clear out before we go further:

  • do you publish the block from the Quick Edit dialog? or do you only save?
  • if you publish then the preview should be updated only if you are in project mode, however when using common drafts the preview WILL not be refreshed, in fact it would not load the unpublished changes even when an editor refreshes the page
  • do you use html/tag helpers to render properties or do you add the `data-epi` attributes manually?
#335513
Jan 12, 2025 18:42
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.