From 9caee8bef6f44cee6271ae078f19033e0488923b Mon Sep 17 00:00:00 2001 From: philippkuehn Date: Mon, 26 Jul 2021 13:15:16 +0000 Subject: [PATCH] ci: fix code style linting errors --- packages/core/src/pasteRules/markPasteRule.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/pasteRules/markPasteRule.ts b/packages/core/src/pasteRules/markPasteRule.ts index 3ed221ce..16efb940 100644 --- a/packages/core/src/pasteRules/markPasteRule.ts +++ b/packages/core/src/pasteRules/markPasteRule.ts @@ -29,9 +29,9 @@ export default function ( const attrs = getAttributes instanceof Function ? getAttributes(match) : getAttributes - + if (!attrs) { - continue; + continue } // adding text before markdown to nodes