Content sync

content:input#

Emitted on input events in the editable area. Payload: { event, scope }.

Type: signal.

Payload:

  • event — native DOM or input event (user-driven actions)
  • scope — string — snapshot scope (e.g. schemaSection)

Example:

app.on('content:input', ({ event, scope }) => {
  console.log('content:input', { event, scope });
});

content:synced#

Emitted after content is synced from DOM. Payload: { format }.

Type: signal.

Payload:

  • format — string — content format identifier

Example:

app.on('content:synced', ({ format }) => {
  console.log('content:synced', { format });
});