Master page items now follow their page when it moves to the other side of the spine; the page bar draws its previews as soon as a document opens; a one-page document is no longer shown as half a spread; and you can choose whether the page bar sits beside the canvas or over it, as it did before 20261022.3.
new Viewer({ page_bar: { mode: 'narrow' | 'overlay' } }), and any host can switch it with
typograph.set_page_bar_mode(); 'narrow' is the default. In the viewer the
page bar is now full height while it narrows the canvas.# after an undo or redo of a page move or delete. They now show the page's
number again.user_data) on an element was lost on undo, on a page move and when grouping.
It is now kept.page_bar.mode option, and typograph.set_page_bar_mode() /
get_page_bar_mode() at runtime (see docs/Embedding.md). Never through a typograph.setup()
call of your own beside the editor or viewer: that replaces its document. Nothing to change to
keep the current behaviour.user_data on an element is yours: canvas never writes into it, and it now survives undo, page
moves and grouping. Master page provenance is in the document schema's own master field.beb267a (from 8abb6be): canvas #209 (TYP-980, TYP-982, TYP-999, TYP-983) and
#210 (a longer timeout for the TYP-994 chrome tests).Template::$masters, MasterReference as master on
elements and spreads) and indesign-converter #80 (writes them). ⚠️ Every service that locks
document-schema must be on 6332635 or later before this release: they deserialise with
ALLOW_EXTRA_ATTRIBUTES=false, and an editor save now carries masters and master.document.master_spreads, saved as masters; resolve_master_sides() runs in
normalize_facing_structure() and at load (src/mastersides.ts). Substitutions, the font
normalisation and the structure undo cover the master spreads. Browser suite
run_master_sides_tests(): 29.page_bar_mode and apply_page_bar_geometry(); editor TogglePageBarMode and the
Page_Bar_Over_Canvas / Page_Bar_Beside_Canvas title pair (docs/MenuAPI.md). Browser suite
run_page_bar_mode_tests(): 17.PageBar.update_pages() schedules one draw (requestAnimationFrame) that redraw()
cancels. Browser suite run_page_bar_previews_tests(): 6.facing_pages_in_effect(); the page bar draws by it, the add-page rule keeps the stored
setting. Browser suite run_one_page_facing_tests(): 16.masters and the groups' master.