@xiwebdesign/xicms-core 7.27.0 → 7.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -317,7 +317,7 @@ function VisualEditorInner({ onClose }) {
317
317
  [blocks, liveBlocks]
318
318
  );
319
319
  nietLiveRef.current = wijzigingen.iets;
320
- const { publishDraft, zetFotoVervanger } = useEditor();
320
+ const { publishDraft, bevestigPublicatie, zetFotoVervanger } = useEditor();
321
321
  const actieveModules = useModules();
322
322
  useEffect(() => {
323
323
  for (const m of actieveModules.defs) {
@@ -927,6 +927,7 @@ function VisualEditorInner({ onClose }) {
927
927
  await saveDraft(siteId, d.id, draftPayload(d));
928
928
  await publishPage(siteId, d.id);
929
929
  setLiveBlocks(structuredClone(d.blocks));
930
+ bevestigPublicatie(d.path, structuredClone(d.blocks));
930
931
  toast({
931
932
  title: "Gepubliceerd",
932
933
  description: demo ? "In deze demo blijft de wijziging in je browser staan." : "Binnen enkele seconden zichtbaar voor iedereen.",