mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 09:25:29 +08:00
ci: fix code style linting errors
This commit is contained in:
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 || []
|
||||
|
Loading…
Reference in New Issue
Block a user