Document: meta.fontFiles lists a deck's uploaded fonts
The view carries meta.fontFiles (omitted when absent) and set_meta takes it, null clearing it; both the Rust core and the JS model refuse a list that breaks the limits, and the view drops a malformed one. Go gets deck.FontFamily and deck.FontFace. Vectors, wasm and editor bundle regenerated.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
22 files changed,
+509
−26
core/src/ops.rs+21 −1core/src/schema.rs+120 −0core/src/view.rs+44 −0core/tests/ops.rs+80 −0docs/api.md+11 −0fixtures/data/canvas.json+3 −1fixtures/font-files.mjs+52 −0fixtures/ops-apply.mjs+3 −0fixtures/ops-model.mjs+2 −0fixtures/ops-parse.mjs+2 −1fixtures/ops.test.mjs+54 −0fixtures/vectors/canvas.view.json+18 −0fixtures/vectors/canvas.yjsbinaryfixtures/view.mjs+11 −1fixtures/view.test.mjs+19 −0internal/slides/core/testdata/slides_core.wasmbinaryinternal/slides/core/testdata/slides_core.wasm.stamp+2 −2internal/slides/credits/assets.json+2 −2internal/slides/deck/deck.go+24 −0internal/slides/deck/deck_test.go+23 −0internal/slides/deck/talk_test.go+1 −1internal/slides/static/{editor.703499261afc631a.js => editor.0c85f4ebe48fb386.js}+17 −17
core/src/ops.rsLoading diff…
core/src/schema.rsLoading diff…
core/src/view.rsLoading diff…
core/tests/ops.rsLoading diff…
docs/api.mdLoading diff…
fixtures/data/canvas.jsonLoading diff…
fixtures/font-files.mjsLoading diff…
fixtures/ops-apply.mjsLoading diff…
fixtures/ops-model.mjsLoading diff…
fixtures/ops-parse.mjsLoading diff…
fixtures/ops.test.mjsLoading diff…
fixtures/vectors/canvas.view.jsonLoading diff…
fixtures/vectors/canvas.yjsLoading diff…
fixtures/view.mjsLoading diff…
fixtures/view.test.mjsLoading diff…
internal/slides/core/testdata/slides_core.wasmLoading diff…
internal/slides/core/testdata/slides_core.wasm.stampLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/deck/deck.goLoading diff…
internal/slides/deck/deck_test.goLoading diff…
internal/slides/deck/talk_test.goLoading diff…
internal/slides/static/{editor.703499261afc631a.js => editor.0c85f4ebe48fb386.js}Loading diff…