From 922f25e8cda4334a14806d9e9f5b5f3ca20b3d76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Wed, 14 Apr 2021 09:53:17 +0200 Subject: [PATCH] remove parentConfig from code block extension for now, see #259 --- .../extension-code-block-lowlight/src/code-block-lowlight.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 115be13c..96f60d54 100644 --- a/packages/extension-code-block-lowlight/src/code-block-lowlight.ts +++ b/packages/extension-code-block-lowlight/src/code-block-lowlight.ts @@ -14,7 +14,8 @@ export const CodeBlockLowlight = CodeBlock.extend({ addProseMirrorPlugins() { return [ - ...this.parentConfig.addProseMirrorPlugins?.() || [], + // disable for now, see: https://github.com/ueberdosis/tiptap-next/issues/259#issuecomment-817954835 + // ...this.parentConfig.addProseMirrorPlugins?.() || [], LowlightPlugin({ name: 'codeBlock', lowlight: this.options.lowlight,