ci: fix code style linting errors
This commit is contained in:
committed by
GitHub Actions
parent
f79347e128
commit
cf1e8ef184
@@ -51,7 +51,7 @@ function getDecorations({ doc, name, lowlight }: { doc: ProsemirrorNode, name: s
|
||||
from = to
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
function getHighlightNodes(result) {
|
||||
// `.value` for lowlight v1, `.children` for lowlight v2
|
||||
return result.value || result.children || []
|
||||
|
||||
Reference in New Issue
Block a user