diff --git a/packages/extension-code-block-lowlight/src/code-block-lowlight.ts b/packages/extension-code-block-lowlight/src/code-block-lowlight.ts index c00458dd..adb73639 100644 --- a/packages/extension-code-block-lowlight/src/code-block-lowlight.ts +++ b/packages/extension-code-block-lowlight/src/code-block-lowlight.ts @@ -8,13 +8,13 @@ export interface CodeBlockLowlightOptions extends CodeBlockOptions { export const CodeBlockLowlight = CodeBlock.extend({ defaultOptions: { - ...CodeBlock.config.defaultOptions, + ...CodeBlock.options, lowlight, }, addProseMirrorPlugins() { return [ - // ...this.parentConfig.addProseMirrorPlugins?.() || [], + ...this.parent?.() || [], LowlightPlugin({ name: 'codeBlock', lowlight: this.options.lowlight,