wordpress-mobile / wordpress-mobile/AztecEditor-iOS

Captions are not aligned with images

Open
#1,168 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Priority] Low [Type] Bug
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:

34267400-6da7dbca-e65b-11e7-9d1b-bcedc68b226c

However, captions are always left-aligned.

To Reproduce

  1. Open the Aztec Editor demo app
  2. Add an image attachment
  3. 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
IMG_2838

IMG_2839

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.