mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 17:43:49 +08:00
fix: Remove console.log statement (#2168)
Co-authored-by: Enrique Alcantara <ealcantara@gitlab.com>
This commit is contained in:
parent
c9dc1e1ec3
commit
6e25e99c7a
@ -42,7 +42,6 @@ function getDecorations({
|
||||
.forEach(block => {
|
||||
let from = block.pos + 1
|
||||
const language = block.node.attrs.language || defaultLanguage
|
||||
console.log({ language, defaultLanguage })
|
||||
const languages = lowlight.listLanguages()
|
||||
const nodes = language && languages.includes(language)
|
||||
? getHighlightNodes(lowlight.highlight(language, block.node.textContent))
|
||||
|
Loading…
Reference in New Issue
Block a user