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

Free text field instead of drop-down for language selection #86

Open
sboudjema opened this issue Sep 30, 2020 · 1 comment
Open

Free text field instead of drop-down for language selection #86

sboudjema opened this issue Sep 30, 2020 · 1 comment

Comments

@sboudjema
Copy link

Hi,

It's nice to have a dropdown to select the language, and it ensures only valid language values are used.

However, I think a text field would be nice too, in which you just have to type the language name to be placed in the language attribute of the code tag (the short names listed on the prism site).
This way you don't have to maintain a static list of available languages.

Cheers

@mkaz
Copy link
Owner

mkaz commented Oct 8, 2020

Maybe I can do a combo box that allows for both., Gutenberg recently introduced a ComboBoxControl. I'll have to take a look and see if I can switch over to that.

Thanks for the suggestion.

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

No branches or pull requests

2 participants