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 9b8670ccf..ca402c152 100644 --- a/packages/extension-code-block-lowlight/src/code-block-lowlight.ts +++ b/packages/extension-code-block-lowlight/src/code-block-lowlight.ts @@ -13,8 +13,6 @@ export interface CodeBlockLowlightOptions { } export const CodeBlockLowlight = CodeBlock.extend({ - name: 'codeBlockLowlight', - defaultOptions: { languageClassPrefix: 'language-', HTMLAttributes: {}, @@ -29,7 +27,7 @@ export const CodeBlockLowlight = CodeBlock.extend({ addProseMirrorPlugins() { return [ - LowlightPlugin({ name: 'codeBlockLowlight' }), + LowlightPlugin({ name: 'codeBlock' }), ] }, })