@tiptap/extension-code-block-lowlight 2.0.0-beta.45 → 2.0.0-beta.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,4 +2,4 @@ import { CodeBlockOptions } from '@tiptap/extension-code-block';
2
2
  export interface CodeBlockLowlightOptions extends CodeBlockOptions {
3
3
  lowlight: any;
4
4
  }
5
- export declare const CodeBlockLowlight: import("@tiptap/core").Node<CodeBlockLowlightOptions>;
5
+ export declare const CodeBlockLowlight: import("@tiptap/core").Node<CodeBlockLowlightOptions, any>;
@@ -2971,9 +2971,12 @@ function LowlightPlugin({ name, lowlight }) {
2971
2971
  }
2972
2972
 
2973
2973
  const CodeBlockLowlight = CodeBlock__default["default"].extend({
2974
- defaultOptions: {
2975
- ...CodeBlock__default["default"].options,
2976
- lowlight: core$1,
2974
+ addOptions() {
2975
+ var _a;
2976
+ return {
2977
+ ...(_a = this.parent) === null || _a === void 0 ? void 0 : _a.call(this),
2978
+ lowlight: core$1,
2979
+ };
2977
2980
  },
2978
2981
  addProseMirrorPlugins() {
2979
2982
  var _a;