Function: ChangeCodeMirrorLanguage()

ChangeCodeMirrorLanguage(): Element

A component that allows the user to change the code block language of the current selection. For this component to work, you must enable the codeMirrorPlugin for the editor. See ConditionalContents for an example on how to display the dropdown only when a code block is in focus.