@tiptap/extension-code-block-lowlight 2.10.4 → 2.11.1
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/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -0
- package/dist/index.umd.js.map +1 -1
- package/dist/lowlight-plugin.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/lowlight-plugin.ts +2 -1
package/dist/index.js
CHANGED
|
@@ -2651,6 +2651,7 @@ function getDecorations({ doc, name, lowlight, defaultLanguage, }) {
|
|
|
2651
2651
|
});
|
|
2652
2652
|
return DecorationSet.create(doc, decorations);
|
|
2653
2653
|
}
|
|
2654
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
2654
2655
|
function isFunction(param) {
|
|
2655
2656
|
return typeof param === 'function';
|
|
2656
2657
|
}
|