wordpress-mobile / wordpress-mobile/AztecEditor-iOS
Wrap text around images with left or right alignment
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 669
- Forks
- 153
- Avg merge
- 11h 27m
- Merged PRs (30d)
- 4
Description
In Calypso web, when you set an image as left-aligned or right-aligned, the text wraps around the image:

This reflects how the text will wrap around the image in the published post.
Aztec currently displays the correct alignment but no text wrapping:

It would be great to also wrap the text to best reflect the end result.
Tested on iPad Mini, iOS 10.2.1, WPiOS 7.0.0.20170214
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in AztecEditor-iOS using a post with a left- or right-aligned image, referencing the iPad Mini and iOS 10.2.1 scenario in the report. Trace the editor's image-alignment rendering path and compare it with the published-post behavior. Done means text wraps around the image while preserving the requested alignment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100