You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: