remove parentConfig from code block extension for now, see #259

This commit is contained in:
Philipp Kühn 2021-04-14 09:53:17 +02:00
parent daa5dc0fb1
commit 922f25e8cd

View File

@ -14,7 +14,8 @@ export const CodeBlockLowlight = CodeBlock.extend<CodeBlockLowlightOptions>({
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,