Skip to content

Commit

Permalink
Merge pull request #1315 from andreavaccari/fix-defaultBlockAt
Browse files Browse the repository at this point in the history
  • Loading branch information
philippkuehn authored May 13, 2021
2 parents 185e1c4 + 655957d commit 5188de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/commands/splitBlock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Command, RawCommands } from '../types'
import getSplittedAttributes from '../helpers/getSplittedAttributes'

function defaultBlockAt(match: ContentMatch) {
for (let i = 0; i < match.edgeCount; i + 1) {
for (let i = 0; i < match.edgeCount; i += 1) {
const { type } = match.edge(i)

if (type.isTextblock && !type.hasRequiredAttrs()) {
Expand Down

0 comments on commit 5188de7

Please sign in to comment.