@tiptap/extension-code-block-lowlight 2.0.0-beta.55 → 2.0.0-beta.59
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 +4 -4
- package/src/lowlight-plugin.ts +0 -1
|
@@ -2908,7 +2908,6 @@ function getDecorations({ doc, name, lowlight, defaultLanguage, }) {
|
|
|
2908
2908
|
.forEach(block => {
|
|
2909
2909
|
let from = block.pos + 1;
|
|
2910
2910
|
const language = block.node.attrs.language || defaultLanguage;
|
|
2911
|
-
console.log({ language, defaultLanguage });
|
|
2912
2911
|
const languages = lowlight.listLanguages();
|
|
2913
2912
|
const nodes = language && languages.includes(language)
|
|
2914
2913
|
? getHighlightNodes(lowlight.highlight(language, block.node.textContent))
|