{"schemaVersion":1,"id":"2026-11-23-board-export","status":"draft","source":{"kind":"entry-mdx","path":"apps/www/src/registry/changelog/entries/2026-11-23-board-export.mdx"},"change":{"type":"source","date":"2026-11-23","commits":[]},"release":{"status":"unresolved"},"kind":"new","summary":"Export the board as a PNG or an SVG","targets":[{"name":"board","files":["apps/www/src/registry/components/editor/board-static.tsx","apps/www/src/registry/components/editor/board-styles.tsx","apps/www/src/registry/components/editor/board.tsx"],"definitionFiles":["apps/www/src/registry/registry-features.ts"],"diagnostics":[]},{"name":"block-list-static","files":["apps/www/src/registry/components/editor/block-list-static.tsx"],"definitionFiles":["apps/www/src/registry/registry-editor.ts"],"diagnostics":[]},{"name":"html-export","files":["apps/www/src/registry/blocks/html-export/page.tsx","apps/www/src/registry/components/editor/html-export-kit.ts","apps/www/src/registry/components/editor/html-export-schema-kit.ts","apps/www/src/registry/components/editor/html-export.tsx","apps/www/src/registry/examples/values/align-value.tsx","apps/www/src/registry/examples/values/basic-blocks-value.tsx","apps/www/src/registry/examples/values/basic-marks-value.tsx","apps/www/src/registry/examples/values/column-value.tsx","apps/www/src/registry/examples/values/date-value.tsx","apps/www/src/registry/examples/values/equation-value.tsx","apps/www/src/registry/examples/values/font-value.tsx","apps/www/src/registry/examples/values/indent-value.tsx","apps/www/src/registry/examples/values/line-height-value.tsx","apps/www/src/registry/examples/values/link-value.tsx","apps/www/src/registry/examples/values/list-value.tsx","apps/www/src/registry/examples/values/media-value.tsx","apps/www/src/registry/examples/values/mention-value.tsx","apps/www/src/registry/examples/values/suggestion-value.tsx","apps/www/src/registry/examples/values/table-value.tsx","apps/www/src/registry/examples/values/toc-value.tsx"],"definitionFiles":["apps/www/src/registry/registry-blocks.ts"],"diagnostics":[]}],"entries":[{"id":"2026-11-23-board-export-png-an-svg-6f4acbbb","kind":"new","summary":"Add an Export menu to the board toolbar that saves the board, or its selected shapes, as `board.png` or `board.svg`, or copies it to the clipboard as a PNG or as SVG text. Add `board-static.tsx`, whose `BoardPictureKit` draws each shape in the picture. The menu shows its notices for images, fonts and shapes the picture could not draw, and for an empty board, through `sonner`. When you update a copied board, copy `board-static.tsx` and the static items it imports, add the `sonner` dependency, and mount one `<Toaster />` in your app.","details":[],"migrationNotes":[],"targets":["board"],"source":{"line":14,"row":1,"legacyRelease":{"date":"2026-11-23","entry":"2026-11-23-board-export","section":null}}},{"id":"2026-11-23-board-export-2","kind":"behavior","summary":"Draw a task's checkbox with your registry style's checkbox classes, so a picture or static render of a task list draws the checkbox the editor draws.","details":[],"migrationNotes":[],"targets":["block-list-static"],"source":{"line":15,"row":2,"legacyRelease":{"date":"2026-11-23","entry":"2026-11-23-board-export","section":null}}},{"id":"2026-11-23-board-export-3","kind":"wiring","summary":"Copy your page's body classes onto the exported document, so a style your CSS scopes under a body class draws in the preview and the saved file. Keep the document's doctype, so the saved file renders in standards mode.","details":[],"migrationNotes":[],"targets":["html-export"],"source":{"line":16,"row":3,"legacyRelease":{"date":"2026-11-23","entry":"2026-11-23-board-export","section":null}}}],"diagnostics":[]}