typograph-editor-documentation
    Preparing search index...

    Release Notes - Version 1.0.0-20261026

    A template opens faster, and while it opens there is one loader that stays until the document can be looked at.

    • One loader while a template opens. The editor and the viewer show a single spinner over the canvas, in the light or dark theme of the page, from setup until the document is open and its images are in. It no longer drops as soon as the fonts are loaded, which used to leave a blank document showing for a moment before the template appeared.
      • It waits for the images at most 8 seconds after typograph_document_opened, and goes 20 seconds after the fonts are in whatever happens, so it never pins the canvas.
      • It waits for your document only when you open it from your typograph_editor_ready handler (editor) or typograph_setup_ready handler (viewer). A host that opens its document later, or opens none, sees the blank document once the fonts are in, as before.
      • It covers the editor's container. With your own #typograph that is not positioned, it lays itself over that element's box rather than over the page; the container's own position is left alone. See "While a template opens" in docs/Embedding.md.
    • A template opens faster. Its fonts download side by side instead of one after another, and a file several font styles share is downloaded once. A template with a few large fonts waited over ten seconds for them; it now waits for the slowest one.
    • typograph_page_images_loaded fires again. When a host set the manifest more than once while a document was opening, an image could stay counted as loading forever, so the event never came and get_pending_image_count() never reached zero. The new loader waits for that event, so without this fix it would have stayed up for its 8 seconds on every template with images.
    • Canvas pin 6b491dd (canvas master), from 4883077: canvas #163 (TYP-769) and canvas #184 (TYP-901), nothing else.
    • TYP-769, canvas: FontFaceLoader.loadfont(), FontManager.batchload() and add_fonts_from_urls() start every download at once; fetch_font_buffer() shares a fetch of the same URL while it is in flight. PageElementImage.set_asset() detaches the previous picture's handlers and drops the element's g_images_loaded entry before queuing the new one; loads find their entry by element, and image_loaded(-1) is a no-op; has_loaded_asset() counts a load in flight of the same url, so a re-apply does not restart it.
    • TYP-901, canvas: Startupscreen (src/startupscreen.ts) replaces the old startup screen and animatedbar.ts; its styles are injected once as typograph-loader-style and scoped on the typograph-loader class. docs/document-lifecycle.md in canvas has the timing in full.