Skip to content
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

fix: prevent inserting into instance with placeholder #4901

Merged
merged 2 commits into from
Feb 22, 2025
Merged

Conversation

TrySound
Copy link
Member

Closes #4897

Added "placeholder" field to component meta to signal the instance accepts should not be insertion target. This reverts us to previous behavior even with empty instances.

Also slightly refactored placeholder rendering to use attr() instead of extra css variable.

Closes #4897

Added "placeholder" field to component meta to signal the instance
accepts should not be insertion target. This reverts us to previous
behavior even with empty instances.

Also slightly refactored placeholder rendering to use attr() instead of
extra css variable.
Copy link
Contributor

@johnsicili johnsicili left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good. Creating a new task for marketplace insert

@TrySound TrySound merged commit 2127108 into main Feb 22, 2025
17 checks passed
@TrySound TrySound deleted the placeholder2 branch February 22, 2025 16:56
istarkov pushed a commit that referenced this pull request Feb 23, 2025
Closes #4897

Added "placeholder" field to component meta to signal the instance
accepts should not be insertion target. This reverts us to previous
behavior even with empty instances.

Also slightly refactored placeholder rendering to use attr() instead of
extra css variable.
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.

Fix insertion logic
3 participants