fix: labels stored as label.text now persist across page refresh
convertToExcalidrawElements silently dropped label.text on reload. Added expandLabelsToNative() that pre-expands server-format labels into native Excalidraw bound text elements before the scene is set, ensuring labels survive DB round-trips. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
d8ef0379f5
commit
1e535a5e31
@@ -64,3 +64,6 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
||||
|
||||
### Changed
|
||||
- Default theme set to dark
|
||||
|
||||
### Fixed
|
||||
- Labels stored as label.text (e.g. from MCP updates) now survive page refresh — expandLabelsToNative pre-converts them to bound text before Excalidraw renders
|
||||
|
||||
Reference in New Issue
Block a user