Automattic / Automattic/syntaxhighlighter

Add type-to-search to the block toolbar language selector

Open
#185 0 comments 0 reactions 0 assignees View on GitHub
[Type] Enhancement
Dominant language
CSS
Stars
251
Forks
81
PR merge metrics
No merged PRs in 30d

Description

In the block toolbar language selector, allow jumping to an option by typing it's first characters, just like regular select boxes work.

It can be a bit messy to do using the current `` component, needing keyboard handling and focus implementation. `CustomSelectControl` with CSS adjustment could work out better, if it's available in supported Wordpress versions.

### Additional context

#172

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the block toolbar language selector and inspect how it currently uses the ToolbarGroup component, then check whether CustomSelectControl is available in supported WordPress versions. Done means users can type the first characters of a language and jump to the matching option, with the selector remaining usable through keyboard focus.

Written by the indexing model from the issue text.

Assessment

Tech stack
wordpress
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.