A point release after 20261019: a host hears when a template is applied.
typograph_template_applied (TYP-937). Applying a template from the Templates drawer now fires an event
on document: {container_index, mode, template:{index, name, id, url}}. index is the
template's position in the list the host's templates provider returned, and name and id are
that entry's own (null when it has none), so a host returns {name, url, id} to get them back.
mode is 'replace' (the spread is replaced by the template) or 'grid' (a Grid template adds
its content). It fires after the template is applied and its undo step recorded. See
docs/API-EditorUI.md.ContentBarPage (contentbarcontent.ts) keeps the host entry behind each template tile
(template_infos) and dispatches the event; PagePreviews (pagepreviews.ts) has a new
on_template_applied option, called after the template's set_redo(). Before this, the only
signals were typograph_document_changed (reason: 'edit') and, for a replacing template only,
typograph_page_shown because the copy has a new spread uuid.docs/Embedding.md says templates read an optional name and id (an extra field: canvas's
HostTemplateRef is {name, url}), and docs/API-EditorUI.md that mode: 'grid' follows the
page name inside the template document, not the host entry's name. Tests:
tests/contentbartemplates.test.ts.7eb6795), no schema change.