Join block format changing to the same edit block.

This commit is contained in:
John Preston 2024-05-27 22:21:33 +04:00
parent b2653606be
commit 34fcd4981d

View file

@ -3642,8 +3642,10 @@ void InputField::commitMarkdownLinkEdit(
_reverseMarkdownReplacement = false;
_correcting = true;
cursor.joinPreviousEditBlock();
cursor.setCharFormat(_defaultCharFormat);
cursor.setBlockFormat(_defaultBlockFormat);
cursor.endEditBlock();
_inner->setTextCursor(cursor);
_correcting = false;
}