Bogdan Chadkin 6037a039b7 Compute insert constraints for tree (#1954)
Fixes https://github.com/webstudio-is/webstudio-builder/issues/1950

Here added new utility to compute constraints for tree when insert embed
template, paste something or reparent. I previous implementation all
constraints were merged which gave us false positives like when paste
List>ListItem we got "requiredAncestors: [List]". Here tree layout is
considered to exclude such false positives.

For testing try to copy paste List>ListItem
2023-07-19 22:23:34 +03:00
2023-07-03 23:26:55 +03:00
2023-06-27 10:02:58 +03:00
2022-07-04 19:59:42 +02:00
2023-07-19 17:44:14 +03:00
2023-03-02 11:05:44 +01:00
2023-07-04 22:32:14 +03:00
2023-06-27 18:17:48 +03:00
2022-03-13 04:22:21 +00:00
2023-07-19 17:44:14 +03:00
2023-07-10 21:46:36 +02:00
2023-04-18 20:17:16 +04:00

Webstudio Builder

Open Source alternative to Webflow Designer

Contributing

Don't hesitate to reach out if you have questions around contributing to the project.

Contributing guide

Community

Twitter

Discussions

Discord

Languages
TypeScript 98.9%
PLpgSQL 0.5%
CSS 0.3%
Shell 0.2%
JavaScript 0.1%