wordpress-mobile / wordpress-mobile/AztecEditor-iOS
Captions are not aligned with images
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 669
- Forks
- 153
- Avg merge
- 11h 27m
- Merged PRs (30d)
- 4
Description
Based on https://github.com/wordpress-mobile/AztecEditor-iOS/pull/860, I would expect that captions are aligned with their attachment.
Specifically:
However, captions are always left-aligned.
To Reproduce
- Open the Aztec Editor demo app
- Add an image attachment
- Make the image thumbnail size and center aligned. Add a caption.
Expected behavior
The caption is center-aligned along with the image.
Actual behavior
The caption is left-aligned.
Screenshots
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
Start by reproducing the issue in the Aztec Editor demo app: add an image attachment, make it a thumbnail, center it, and add a caption. Trace the attachment and caption alignment handling; done means the caption uses the image's alignment instead of remaining left-aligned.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100