Skip to content

Conversation

TrySound
Copy link
Member

@TrySound TrySound commented May 3, 2025

Ref #3632

  • Added template for Element component in builder
  • Render Element component on canvas
  • Labels are shown as html tags
  • Element has div tag by default
Screenshot 2025-05-04 at 03 17 53

Ref #3632

Added template for Element component in builder. Labels are shown as
html tags. Element has div tag by default.
@TrySound TrySound requested a review from kof May 3, 2025 23:30
@kof
Copy link
Member

kof commented May 4, 2025

https://www.figma.com/design/sfCE7iLS0k25qCxiifQNLE/%F0%9F%93%9A-Webstudio-Library?node-id=10345-9217&t=8Mf38CU6QVXTTm3j-4

image

Made another option for the icon, similar to webflow, helps differentiate from html embed

@kof
Copy link
Member

kof commented May 4, 2025

I don't like how the icon looks right now in the tree:
image

Copy link
Member

@kof kof left a comment

Choose a reason for hiding this comment

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

would change the icon, otherwise great

@TrySound
Copy link
Member Author

TrySound commented May 5, 2025

image

@TrySound TrySound merged commit 5258043 into main May 5, 2025
17 checks passed
@TrySound TrySound deleted the ws-element branch May 5, 2025 07:15

const elementMeta: WsComponentMeta = {
label: "Element",
icon: HtmlElementIcon,
Copy link
Member

Choose a reason for hiding this comment

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

need to delete the svg as well

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