Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Captions are not aligned with images

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
swift
Domain
mobile

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.

Description

[Priority] Low [Type] Bug

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

Dominant language
Swift
Stars
669
Forks
153
Avg merge
11h 27m
Merged PRs (30d)
4

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.

More from wordpress-mobile/AztecEditor-iOS

All issues in wordpress-mobile/AztecEditor-iOS

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.