openpencil/packages
Danila Poyarkov d93c4752cb Fix DSD resolution for swapped instance children
After an instance swap, the DSD guidPath still references the
pre-swap slot's overrideKey (e.g. bold icon), but the actual child
is the swapped-in component (e.g. code-2). resolveOverrideTarget
couldn't find the target because the child's componentId no longer
matched the guidPath element.

When findNodeByComponentId fails, fall back to the single child
of the parent node — after a swap, it occupies the same slot.

Fixes cropped toolbar icons (bold, italic, underline, strikethrough,
link, lists, code) in the WYSIWYG editor.
2026-03-14 12:47:51 +03:00
..
acp Lint all packages: fix 193 errors across core, mcp, acp 2026-03-09 13:18:08 +03:00
cli Move font loading and layout into SkiaRenderer.prepareForExport 2026-03-14 12:06:46 +03:00
core Fix DSD resolution for swapped instance children 2026-03-14 12:47:51 +03:00
demos feat: mobile layout, PWA support (#27) (#27) 2026-03-05 19:51:51 +03:00
docs Release v0.9.0 2026-03-09 17:43:11 +03:00
mcp Fix headless font rendering and deduplicate CLI/MCP setup 2026-03-14 11:45:38 +03:00