Skip to content

refactor: insert new component copy #4648

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 24, 2024
Merged

refactor: insert new component copy #4648

merged 2 commits into from
Dec 24, 2024

Conversation

TrySound
Copy link
Member

Our copy paste is able to merge breakpoints so we can leverage it when generate new component template. Here instead of passing base breakpoint id I invoke insertWebstudioFragmentCopy with generated breakpoint which is merged into project one.

Also switched plugin-embed, plugin-markdown and ai to use the same insertWebstudioFragmentCopy utility.

Our copy paste is able to merge breakpoints so we can leverage it
when generate new component template. Here instead of passing base
breakpoint id I invoke insertWebstudioFragmentCopy with generated
breakpoint which is merged into project one.
@TrySound TrySound requested review from kof and istarkov December 24, 2024 11:20
@TrySound TrySound merged commit 1315731 into main Dec 24, 2024
15 checks passed
@TrySound TrySound deleted the breakpoint branch December 24, 2024 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants