diff --git a/packages/decap-cms-widget-markdown/src/MarkdownControl/plugins/blocks/transforms/unwrapIfCursorAtStart.js b/packages/decap-cms-widget-markdown/src/MarkdownControl/plugins/blocks/transforms/unwrapIfCursorAtStart.js index 503293f2921d..7e728a1a5d10 100644 --- a/packages/decap-cms-widget-markdown/src/MarkdownControl/plugins/blocks/transforms/unwrapIfCursorAtStart.js +++ b/packages/decap-cms-widget-markdown/src/MarkdownControl/plugins/blocks/transforms/unwrapIfCursorAtStart.js @@ -16,7 +16,10 @@ function unwrapIfCursorAtStart(editor, mergeWithPrevious = false) { } const isBlock = Editor.isBlock(editor, node); - const [parentBlock, parentBlockPath] = Editor.above(editor, lowestMatchedAncestor(editor, 'block')); + const [parentBlock, parentBlockPath] = Editor.above( + editor, + lowestMatchedAncestor(editor, 'block'), + ); if (!isBlock) { if (!Editor.isStart(editor, path, parentBlockPath)) { return false;