@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
|
@@ -2900,7 +2900,6 @@ function getDecorations({ doc, name, lowlight, defaultLanguage, }) {
|
|
|
2900
2900
|
.forEach(block => {
|
|
2901
2901
|
let from = block.pos + 1;
|
|
2902
2902
|
const language = block.node.attrs.language || defaultLanguage;
|
|
2903
|
-
console.log({ language, defaultLanguage });
|
|
2904
2903
|
const languages = lowlight.listLanguages();
|
|
2905
2904
|
const nodes = language && languages.includes(language)
|
|
2906
2905
|
? getHighlightNodes(lowlight.highlight(language, block.node.textContent))
|