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

Spacer Block: Visual Indication the Block is In Use #30777

Open
deborah86 opened this issue Apr 12, 2021 · 5 comments
Open

Spacer Block: Visual Indication the Block is In Use #30777

deborah86 opened this issue Apr 12, 2021 · 5 comments
Labels
[Block] Spacer Affects the Spacer Block [Type] Enhancement A suggestion for improvement.

Comments

@deborah86
Copy link

What problem does this address?

I am frustrated because when I use patterns, there is no visual indication a space block has been used. the only way I am able to see this is by looking at the post outline.

What is your proposed solution?

Have a visual indicator showing a spacer block has been added to the editor. Maybe a faint box that indicates it is present but not part of the main content.

@carolinan carolinan added the [Block] Spacer Affects the Spacer Block label Apr 13, 2021
@carolinan
Copy link
Contributor

The hover style can also be difficult to see on colored and dark backgrounds.

@paaljoachim
Copy link
Contributor

I am adding some additional information.
Here is an example from the customizer. Where I used a spacer in the top.
(One can not see the spacer in use, but might believe it is just an empty space.)

Screen Shot 2021-08-30 at 22 50 28

@luminuu
Copy link
Member

luminuu commented Jan 25, 2022

I just came across something similar on Twitter, thinking of it it would be nice to see or have an option to enable seeing that spacer blocks are in use. I agree with @carolinan however, that depending on the chosen background color, a fixed color used for this could be hardly visible or invisible.

An idea could be to check out if a visible color could be calculated with some CSS magic or use mix-blend-mode with any given background color.

@paaljoachim
Copy link
Contributor

Just earlier today I added a spacer to a site. Deselecting the spacer looks like this:

It can not be seen.
Screenshot 2022-08-16 at 13 22 54

Selecting the spacer I saw this:
Screenshot 2022-08-16 at 13 22 58

As the spacer creates space and is in general invisible when not selected. It would be helpful in some way to be able to understand/see that there is a spacer on the page. I believe that @jasmussen Joen and perhaps also @jameskoster have had some thoughts about this earlier.

@jameskoster
Copy link
Contributor

It would be good to fix the hover state first and foremost. Displaying spacers otherwise feels like a step away from wysiwyg, I'm not convinced we should go that direction.

@jordesign jordesign added the [Type] Enhancement A suggestion for improvement. label Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Spacer Affects the Spacer Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

6 participants