remove parentConfig from code block extension for now, see #259
This commit is contained in:
@@ -14,7 +14,8 @@ export const CodeBlockLowlight = CodeBlock.extend<CodeBlockLowlightOptions>({
|
|||||||
|
|
||||||
addProseMirrorPlugins() {
|
addProseMirrorPlugins() {
|
||||||
return [
|
return [
|
||||||
...this.parentConfig.addProseMirrorPlugins?.() || [],
|
// disable for now, see: https://github.com/ueberdosis/tiptap-next/issues/259#issuecomment-817954835
|
||||||
|
// ...this.parentConfig.addProseMirrorPlugins?.() || [],
|
||||||
LowlightPlugin({
|
LowlightPlugin({
|
||||||
name: 'codeBlock',
|
name: 'codeBlock',
|
||||||
lowlight: this.options.lowlight,
|
lowlight: this.options.lowlight,
|
||||||
|
|||||||
Reference in New Issue
Block a user