Skip to content

[WIP] Add icon support for Breadcrumbs separator in block editor - #77059

Draft
Infinite-Null wants to merge 3 commits into
WordPress:trunkfrom
Infinite-Null:add/breadcrumbs-icon-separator-support
Draft

Infinite-Null wants to merge 3 commits into
WordPress:trunkfrom
Infinite-Null:add/breadcrumbs-icon-separator-support

Conversation

@Infinite-Null

Copy link
Copy Markdown
Contributor

Part of: #75715 (Icon block enhancements)

What?

Closes

Why?

How?

Testing Instructions

Testing Instructions for Keyboard

Screenshots or screencast

Before After

Use of AI Tools

@github-actions github-actions Bot added the [Package] Block library /packages/block-library label Apr 6, 2026

@t-hamano t-hamano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the PR!

Before we move forward with this PR, a crucial point is how we maintain backward compatibility. My understanding is that this PR will discard text that users have already configured.

Perhaps we need something like a "mode" selector, such as a text input mode or an icon selection mode 🤔

import HtmlRenderer from '../utils/html-renderer';

const separatorDefaultValue = '/';
import { CustomInserterModal } from '../icon/components';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Let's avoid directly referencing other blocks. CustomInserterModal is intended for the Icon block, and its changes should not propagate to other blocks.

Perhaps we should address #76787 before moving forward with this PR.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thank you @t-hamano, Noted! For now, I’ll add a toggle for mode selection (e.g., text input vs icon selection) to preserve backward compatibility, and will hold off on further changes until the above PR is addressed.

@t-hamano t-hamano added [Type] Enhancement A suggestion for improvement. [Block] Icon Affects the Icon block labels Apr 7, 2026
@t-hamano t-hamano mentioned this pull request Apr 8, 2026
8 of 17 tasks
@t-hamano t-hamano mentioned this pull request Sep 30, 2026
4 of 26 tasks

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Icon Affects the Icon block [Package] Block library /packages/block-library [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants