Skip to content

Commit

Permalink
Unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
muratcakir committed Nov 27, 2024
1 parent 1d83728 commit f29b591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/editing/Typing.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default class Typing {
if (Point.isRightEdgePoint(rng.getStartPoint()) && dom.isBR(rng.sc.nextSibling)) {
$(rng.sc.nextSibling).remove();
}
const split = Point.splitTree(blockquote, rng.getStartPoint(), { isDiscardEmptySplits: true });
const split = Point.splitTree(blockquote, rng.getStartPoint(), { discardEmptySplits: true });
if (split) {
split.parentNode.insertBefore(nextPara, split);
}
Expand Down

0 comments on commit f29b591

Please sign in to comment.