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

experimental: support ws:element component in CLI #5071

Merged
merged 2 commits into from
Apr 3, 2025
Merged

Conversation

TrySound
Copy link
Member

Ref #3632

Added ws:element component to represent any html and svg elements within webstudio.

It is rendered as <div> by default which can be customized with "tag" system property (instance.tag in data).

Here added only CLI generator support with converting html attribute names to react compatible. Will add builder support separately.

@TrySound TrySound requested review from kof and istarkov March 29, 2025 13:50
@kof
Copy link
Member

kof commented Mar 31, 2025

Let me add you an icon

Ref #3632

Added `ws:element` component to represent any html and svg elements
within webstudio.

It is rendered as `<div>` by default which can be customized with
"tag" system property (instance.tag in data).

Here added only CLI generator support with converting html attribute
names to react compatible. Will add builder support separately.
@TrySound TrySound merged commit 9032a10 into main Apr 3, 2025
17 checks passed
@TrySound TrySound deleted the ws-element branch April 3, 2025 07:06
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.

3 participants