From 74bd678e8bfe25cc5dcc04086591855a03f0c788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Fri, 2 Apr 2021 22:30:12 +0200 Subject: [PATCH] remove custom name for lowlight code block --- .../extension-code-block-lowlight/src/code-block-lowlight.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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' }), ] }, })