Skip to content

Commit 7c6da58

Browse files
hejsztynxCopilot
andauthored
fix: grammar
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 38eb7e6 commit 7c6da58

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/docs/api-reference/enriched-text-input.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,8 +705,8 @@ list item), typing the trigger pattern has no effect.
705705

706706
:::
707707

708-
**[Text alignment](/rich-text-formatting/text-alignment)** fire with the same scheme
709-
as paragraph styles, but doesn't require a plain paragraph to be effective.
708+
**[Text alignment](/rich-text-formatting/text-alignment)** shortcuts fire with the same scheme
709+
as paragraph styles, but don't require a plain paragraph to be effective.
710710

711711
**[Inline styles](/fundamentals/html-format-and-supported-tags#inline-tags)**
712712
fire when a closing delimiter is typed around text (e.g. `**text**` → bold). The

ios/utils/ShortcutsUtils.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ + (BOOL)paragraphHasActiveParagraphStyleInRange:(NSRange)paragraphRange
351351
/// codeblock), then reset typing attrs to defaults preserving alignment
352352
/// — without this, the new paragraph style would inherit stale typing
353353
/// attributes from the previous style.
354-
/// 6. Apply the paragraph style with withTyping:YES so the next typed
354+
/// 6. Apply the paragraph style withTyping:YES so the next typed
355355
/// character inherits it immediately.
356356
+ (BOOL)tryHandlingParagraphShortcutsInRange:(NSRange)range
357357
replacementText:(NSString *)text

0 commit comments

Comments
 (0)