@tiptap/extension-code-block-lowlight 2.0.0-beta.56 → 2.0.0-beta.57
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/tiptap-extension-code-block-lowlight.cjs.js +0 -1
- package/dist/tiptap-extension-code-block-lowlight.cjs.js.map +1 -1
- package/dist/tiptap-extension-code-block-lowlight.esm.js +0 -1
- package/dist/tiptap-extension-code-block-lowlight.esm.js.map +1 -1
- package/dist/tiptap-extension-code-block-lowlight.umd.js +0 -1
- package/dist/tiptap-extension-code-block-lowlight.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/lowlight-plugin.ts +0 -1
|
@@ -2905,7 +2905,6 @@
|
|
|
2905
2905
|
.forEach(block => {
|
|
2906
2906
|
let from = block.pos + 1;
|
|
2907
2907
|
const language = block.node.attrs.language || defaultLanguage;
|
|
2908
|
-
console.log({ language, defaultLanguage });
|
|
2909
2908
|
const languages = lowlight.listLanguages();
|
|
2910
2909
|
const nodes = language && languages.includes(language)
|
|
2911
2910
|
? getHighlightNodes(lowlight.highlight(language, block.node.textContent))
|