Skip to content

Remove import statement of non-existent ToolSelector component#730

Merged
pkevan merged 1 commit intoWordPress:trunkfrom
t-hamano:remove-tool-selector
Nov 26, 2025
Merged

Remove import statement of non-existent ToolSelector component#730
pkevan merged 1 commit intoWordPress:trunkfrom
t-hamano:remove-tool-selector

Conversation

@t-hamano
Copy link
Contributor

@t-hamano t-hamano commented Nov 26, 2025

Fixes #729
It was also reported here: https://core.trac.wordpress.org/ticket/64309

Props amitdholiya, paulkevan, noruzzaman

Gutenberg had the ToolSelector component like this to switch modes:

487045269-041bf935-8a55-48ee-a78c-c504cc6360ee

Later, the concept of design/light mode was abolished, so this component was removed accordingly in WordPress/gutenberg#72193.

The editor should now work correctly without this component.

How to test the changes in this Pull Request:

  1. Launch a local environment
  2. Access http://localhost:8888/new-pattern/
  3. There shouldn't be any errors.

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.

Pattern Editor Showing “The editor has encountered an unexpected error”

2 participants

Comments