canMergeBothParagraphs method
Decides if we will merge the current Pr ↓ with the nextParagraph
Implementation
@override
bool canMergeBothParagraphs({
required Paragraph paragraph,
required Paragraph nextParagraph,
}) {
return paragraph.isBlock &&
nextParagraph.isBlock &&
mapEquality(
paragraph.blockAttributes,
nextParagraph.blockAttributes,
);
}