mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 22:14:29 +09:00
3279d6fc7828393241732b97fef8e72b77a3f440
If this looks good, I will not merge it right away, but open a PR in `webstudio-saas` ## Description - #993 1. Added a new type of Prop `{type: "page"}`, similar to `{type: "asset"}` 2. Added `pagesStore` to `ReactSdkContext` (will need to make changes to `webstudio-saas` as well to support this) 3. Added a new control type `{control: "url"}` and corresponding `<UrlControl>` 4. Updated Link components: - set `{control: "url"}` for the `href` prop - made them support `{type: "page"}` as `href` - simplified / cleaned up ## Steps for reproduction 1. Add a link 2. Set a page as `href` in props panel 3. Try clicking on the link in preview mode
Webstudio Builder
Webstudio Builder is a NoCode Visual Tool inspired by Webflow. It is the place where you can build your site or app visually.
Contributing
Don't hesitate to reach out of you have questions around contributing to the project.
Community
Languages
TypeScript
98.9%
PLpgSQL
0.5%
CSS
0.3%
Shell
0.2%
JavaScript
0.1%