Function: useCodeBlockEditorContext()

useCodeBlockEditorContext(): CodeBlockEditorContextValue

Use this hook in your custom code block editors to modify the underlying node code, language, and meta.

Returns

CodeBlockEditorContextValue