Skip to content

Commit

Permalink
fix: fix a bug in markPasteRule
Browse files Browse the repository at this point in the history
  • Loading branch information
philippkuehn committed Jul 28, 2021
1 parent eb27b1f commit c2ccf68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/pasteRules/markPasteRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function (
? getAttributes(match)
: getAttributes

if (!attrs) {
if (!attrs && attrs !== undefined) {
continue
}

Expand Down

0 comments on commit c2ccf68

Please sign in to comment.