@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.
- package/dist/packages/extension-code-block-lowlight/src/code-block-lowlight.d.ts +1 -1
- package/dist/tiptap-extension-code-block-lowlight.cjs.js +6 -3
- package/dist/tiptap-extension-code-block-lowlight.cjs.js.map +1 -1
- package/dist/tiptap-extension-code-block-lowlight.esm.js +6 -3
- package/dist/tiptap-extension-code-block-lowlight.esm.js.map +1 -1
- package/dist/tiptap-extension-code-block-lowlight.umd.js +6 -3
- package/dist/tiptap-extension-code-block-lowlight.umd.js.map +1 -1
- package/package.json +5 -5
- package/src/code-block-lowlight.ts +5 -3
|
@@ -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
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
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;
|