@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.
@@ -2963,9 +2963,12 @@ function LowlightPlugin({ name, lowlight }) {
2963
2963
  }
2964
2964
 
2965
2965
  const CodeBlockLowlight = CodeBlock.extend({
2966
- defaultOptions: {
2967
- ...CodeBlock.options,
2968
- lowlight: core$1,
2966
+ addOptions() {
2967
+ var _a;
2968
+ return {
2969
+ ...(_a = this.parent) === null || _a === void 0 ? void 0 : _a.call(this),
2970
+ lowlight: core$1,
2971
+ };
2969
2972
  },
2970
2973
  addProseMirrorPlugins() {
2971
2974
  var _a;