Skip to content

Editor Media Adapters

The editor preserves the ANU-11 asset boundary:

  • font binaries remain embedded and declared in the Bento document;
  • images, SVG, chart data/snapshots, audio, video, and posters remain external;
  • each external asset has stable identity, exact media type, SHA-256 integrity, and a safe relative or HTTPS locator; and
  • authentication material is not part of the DTO.

Materialize

When a surface becomes active, the editor:

  1. resolves only declared bindings;
  2. rejects redirects, missing media types, integrity mismatch, timeout, HTTP, decode, and undeclared requests with stable codes;
  3. converts verified bytes to local blob URLs;
  4. merges validated chart data for editing; and
  5. waits for the active surface to be usable.

Dehydrate

Before switching, applying commands, or saving, the editor:

  • restores anuva-asset:<id> references;
  • restores payload-free SVG/chart-snapshot element forms;
  • strips externally supplied chart arrays;
  • retains embedded declared fonts only; and
  • revalidates the complete presentation.

Replacement keeps stable asset identity when content is unchanged. Binding cleanup occurs only for elements removed by a committed atomic command. Upload, storage, signing, authentication, and asset lifecycle remain host concerns.