From 8bb62d908fa14630bc72cafa323fce98a8328696 Mon Sep 17 00:00:00 2001 From: Danila Poyarkov Date: Mon, 2 Mar 2026 18:07:59 +0300 Subject: [PATCH] Update changelog with clipboard import fixes --- CHANGELOG.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7df6aae22..22a752eb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## Unreleased + +### Fixes + +- Fix Figma clipboard paste: skip non-visual node types (variables, widgets, stickies, connectors) +- Fix text not rendering after paste — `letterSpacing` from Figma is a `{value, units}` object, was passed as-is → `NaN` broke CanvasKit paragraph layout +- Fix undo/redo for Figma paste — no undo entry was recorded; redo duplicated `childIds` +- Center pasted Figma content in viewport instead of using original coordinates +- Compute auto-layouts after clipboard paste (same as .fig import and demo creation) + +### Improvements + +- Import additional properties from Figma clipboard: `layoutAlignSelf`, `clipsContent`, `fontWeight`, `italic`, `letterSpacing`, `lineHeight` +- Convert `letterSpacing` PERCENT units to pixels based on font size + +### Tests + +- 7 new clipboard import unit tests (14 total) + ## 0.4.1 (2026-03-02) ### Fixes