mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 04:23:40 +09:00
## Description Part of https://github.com/webstudio-is/webstudio/issues/3149 this allows us to understand if an instance has text child. With this knowledge we can place instances into components that don't have text children and after them if they do. ## Steps for reproduction 1. insert text or paragraph 2. see there is expected placeholder text which is editable 3. select it, tell AI to change color or something 4. see it works and see in payload it didn't send placeholder text 5. try text editing on empty body - shouldn't allow it ## Code Review - [ ] hi @TrySound , I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 5de6) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env.example` and the `builder/env-check.js` if mandatory
Webstudio SDK
Webstudio SDK is a TypeScript API that lets you use your Webstudio project or some components in your custom codebase or just render a complete Remix Document. It is currently under development, but feel free to play with the the current landing site