Skip to content

Commit

Permalink
fix #666
Browse files Browse the repository at this point in the history
  • Loading branch information
philippkuehn committed Apr 22, 2020
1 parent 3e7e351 commit e9abea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tiptap-utils/src/utils/nodeIsActive.js
Expand Up @@ -12,5 +12,5 @@ export default function nodeIsActive(state, type, attrs = {}) {
return !!node
}

return node.node.hasMarkup(type, attrs)
return node.node.hasMarkup(type, { ...node.node.attrs, ...attrs })
}

0 comments on commit e9abea0

Please sign in to comment.