mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
Add d/without-nils at every point where default-font or editor styles are merged before being stored or used to build content: - v2-update-text-editor-styles and v3-update-text-editor-styles now strip nils from merged styles before writing to workspace state. - initialize-editor-state strips nils from the attrs passed to Draft.js. - v2-default-text-content strips nils from default-font before building the initial text tree for new shapes. These are defensive guards so that any residual nil in default-font (e.g. from sessions predating the save-font fix) cannot reach shape content or editor state.