mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 20:44:05 +09:00
Ref https://github.com/webstudio-is/webstudio-designer/issues/651 We want to normalize our tree structure and need to distinct text children with ids. Now instead of string its respresented as ``` { type: 'text', value: string } ``` This also gives us a little type safety because typeof child === 'string' ignores when child cannot be string.