1 parent f047575 commit 6215108Copy full SHA for 6215108
1 file changed
ios/utils/ShortcutsUtils.mm
@@ -394,7 +394,9 @@ + (BOOL)tryHandlingParagraphShortcutsInRange:(NSRange)range
394
395
// we don't allow for paragraph style shortcuts in non-plain text
396
// paragraphs, where the only exception is a text alignment, which we can
397
- // always apply
+ // always apply. paragraphHasActiveStyle doesn't consider text alignment,
398
+ // so we can apply paragraph style shortcuts also when text alignment
399
+ // is already applied
400
if (type != Alignment && paragraphHasActiveStyle) {
401
continue;
402
}
0 commit comments