Skip to content

fix: formatting stripped when autocorrect applied#551

Open
kacperzolkiewski wants to merge 1 commit intomainfrom
@kacperzolkiewski/fix-autocorrect-ios
Open

fix: formatting stripped when autocorrect applied#551
kacperzolkiewski wants to merge 1 commit intomainfrom
@kacperzolkiewski/fix-autocorrect-ios

Conversation

@kacperzolkiewski
Copy link
Copy Markdown
Collaborator

@kacperzolkiewski kacperzolkiewski commented Apr 17, 2026

Summary

Fixes: #548

This PR prevents iOS autocorrect from stripping formatting by capturing active meta-attributes in shouldChangeTextInRange and reapplying them in didProcessEditing

Test Plan

Run reproduction steps from #548, the issue should be resolved.

Screenshots / Videos

Screen.Recording.2026-04-17.at.15.48.02.mov

Compatibility

OS Implemented
iOS
Android

Checklist

  • E2E tests are passing
  • Required E2E tests have been added (if applicable)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[iOS] Bold and other formatting stripped when autocorrect replaces a word

1 participant