Search results

CodeSettingsModel API in React Blockeditor API component

Interface for a class CodeSettings

Properties

defaultLanguage

string

Specifies the default language to use for syntax highlighting. This is the language that will be selected by default in the language selector dropdown.

languages

CodeLanguageModel[]

Specifies the languages available for syntax highlighting. This is an array of objects, each containing a language value and a label.