CodeBlockPluginParams interface
The parameters passed to the codeBlockPlugin initializer.
Signature:
export interface CodeBlockPluginParams
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
codeBlockEditorDescriptors? | CodeBlockEditorDescriptor[] | (Optional) Use this to register custom code block editors. | |
defaultCodeBlockLanguage? | string | (Optional) The default language to use when creating a new code block if no language is passed. |