WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.3k stars 4.11k forks source link

Remove the site logo block from core #63954

Closed Sam-Xronn closed 1 week ago

Sam-Xronn commented 1 month ago

Backstory

As the block editor and FSE editor in general has progressed the requirement for a site logo block has diminished. Replaced by new functionality the site logo block as it stands is a degraded version of the image block offering less functionality, and creating a whole range of problems both functional and user experiance.

What problem does this address?

The site logo block does not support a range of basic functionality which is already covered by the image block. See below a list of current examples;

No ability to add a link

The site logo block cannot be used on WordPress installations run on a subdomain. This is due to the inability to link to the parent domain, despite a design system existing for this on the image block. Some common examples would be any sites running blog., .news, event., shop., jobs.

56820

No aspect ratio controls

No option to select media aspect ratios e.g. a square logo

63382

Confusion on bookmark/fav icon

A new feature has been added to Settings > General that allows you to upload a site icon removing the only unique feature the site logo block offered. It's now confusing from a users perspective as to where the correct location to add the media should be.

No support for light/dark site logos

If a website consists of different different coloured headers or a transparent header its common to see different coloured logos used. This isn't possible with the site logo block. Creating 2 headers and having 2 site logo blocks will override one another. See website example below; demo

What is your proposed solution?

Remove the site logo block. It's a confusing block that doesn't add any new functionality rather limits the website editor. The block will continue to be used purely based on it's name.

hanneslsm commented 1 month ago

The big advantage of this block is, that when once a logo is added, the block can be reused and the exact same logo is included every time. You don't need to go through the media library and select the correct logo again.

I agree that the the missing features you pointed out should be added though.

hanneslsm commented 1 month ago

I'd like to add that the conversation about using the image block instead and adding a site logo option is actually quite interesting https://github.com/WordPress/gutenberg/issues/63382#issuecomment-2250208043 I'm not averse to that idea.

Sam-Xronn commented 1 month ago

The big advantage of this block is, that when once a logo is added, the block can be reused and the exact same logo is included every time. You don't need to go through the media library and select the correct logo again.

While I do agree that is a benefit to using the block. I'm not sure how many different locations a site logo is typically displayed.

richtabor commented 1 month ago

A new feature has been added to Settings > General that allows you to upload a site icon removing the only unique feature the site logo block offered.

The site logo block is a critical block for the editing experience, for most people.

I'd like to add that the conversation about using the image block instead and adding a site logo option is actually quite interesting

The image block should not be more confusing imo, by adding a control to configure it as a block that already exists. Sure, with connections you could potentially choose the site logo as a source, or the home url as a link source, but that's a far cry from what most people will want to do, when instead they can add a block that has all that setup for them already.


What's great about WordPress is that you can have your way of doing things, and it's totally cool. So if you want to use an image block instead of a site logo, then that's all good. But for most WordPress users, leaning in on simple and intuitive (like a block specifically for a site logo) is ideal.

richtabor commented 1 week ago

I'm going to close this issue as not-planned per my comment above. Thanks for bringing up the subject and opening the discussion.