typograph-editor-documentation
    Preparing search index...

    Release Notes - Version 1.0.0-20261015.1

    A point release after 20261015, so that a page can hand its host providers to an editor that starts itself.

    • new Typograph.Editor({ host }) works after the editor has started itself. A page that just loads editor.js gets an editor without constructing one. Constructing a Typograph.Editor after that — to pass host or legacy_php_fallback — destroyed that editor instead of handing it the providers: the editor disappeared, the providers were never registered, and the console showed Cannot read properties of null (reading 'style'). The new Editor now takes over the editor that is already running, and its providers go onto that editor's document. A page that constructs its Editor early (before the window load event) worked already and is unchanged. See Setting it up.
    • editorapp.ts: the legacy auto-boot's new Editor() is remembered as g_auto_editor. A later Editor adopts it (no destroy()), so apply_host_late() runs on the live document. A second Editor the host constructed itself still destroys the first, as Embedding.md "One instance per page" says. Found while checking TYP-697 end to end for a host: the early path registered every provider and made no php/ request, and the late path registered none.
    • The Viewer has no auto-boot, so it has nothing to adopt and is unchanged.