@xiwebdesign/xicms-core 7.27.0 → 7.28.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.
- package/dist/admin/visual/VisualEditor.js +2 -1
- package/dist/admin/visual/VisualEditor.js.map +1 -1
- package/dist/admin.css +1 -1
- package/dist/blocks/builtins/RichTextBlockRender.js +1 -1
- package/dist/blocks/builtins/RichTextBlockRender.js.map +1 -1
- package/dist/editor/EditorProvider.d.ts +12 -0
- package/dist/editor/EditorProvider.js +10 -1
- package/dist/editor/EditorProvider.js.map +1 -1
- package/dist/media/ImageContext.js +6 -3
- package/dist/media/ImageContext.js.map +1 -1
- package/dist/render/PublishedPage.js +7 -5
- package/dist/render/PublishedPage.js.map +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -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.",
|