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

[GB 2.0 beta] Shape block doesn't have access to the included GB shapes #1737

Open
quantumleap33 opened this issue Jan 29, 2025 · 3 comments
Labels
triage Awaiting review

Comments

@quantumleap33
Copy link

Description

When inserting a shape block, there is no way to access the included GB shapes, only the SVG icons.

References:

https://vimeo.com/1051353374/6a92954443

@quantumleap33 quantumleap33 added the triage Awaiting review label Jan 29, 2025
@quantumleap33
Copy link
Author

Another thing, duplicated shapes lose some of the panel settings when their styles are reset and also colors cannot be assigned to them.
https://vimeo.com/1051365460/102323341d

@tomusborne
Copy link
Owner

For the second bug, the Shape block needs to know it's a divider for that option to show up. When you cleared the styles, you took away the following styles:

position: absolute
top: 0 OR bottom: 0

These values are what tells the system it should add the divider-specific controls.

@quantumleap33
Copy link
Author

quantumleap33 commented Feb 3, 2025

Ok, I see, but why can I not assign it a color after clearing the styles? Selecting a color from the picket doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Awaiting review
Projects
None yet
Development

No branches or pull requests

2 participants