Skip to content

fix(ew): flush collab writes before canvas preview/publish#1112

Draft
hannessolo wants to merge 1 commit into
mainfrom
cvsflush
Draft

fix(ew): flush collab writes before canvas preview/publish#1112
hannessolo wants to merge 1 commit into
mainfrom
cvsflush

Conversation

@hannessolo

@hannessolo hannessolo commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

The canvas editor's Preview action read from da-admin before da-collab's
debounced writer had flushed pending Yjs updates, so edits made within
~2s of clicking Preview were missing from aem.page. Mirrors the flush
that already runs for the edit view.

Move forcesave.js to blocks/shared/ so both editors use the same
WS flush protocol, and expose a forceSave() method on <ew-editor-doc>
for ew-actions (in da-nx) to await before the AEM call.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@aem-code-sync

aem-code-sync Bot commented Jul 15, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-sync branch
Commits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant