mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 04:23:40 +09:00
Closes https://github.com/webstudio-is/webstudio/issues/3149 ## Description As a user when I have Heading, Text or similar instances selected which have a single text node instance, I expect an added component to insert AFTER such instances. ## Steps for reproduction 1. add heading 2. select heading instance 3. 1-click box 4. see box was added after the heading 5. repeat the same with paste 6. repeat the same with any instance that has only text inside ## Code Review - [ ] hi @TrySound , I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - [ ] hi @johnsicili , I need you to do - 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 Components
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.