wordpress-mobile / wordpress-mobile/AztecEditor-iOS
Caption style being removed when post edited in iOS App
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 669
- Forks
- 153
- Avg merge
- 11h 27m
- Merged PRs (30d)
- 4
Description
Expected behavior
When a new post is created and an image is added with a caption, going back to edit the post later would not change the style of the caption text to match paragraph style.
Actual behavior
If you don't add any text bellow the caption when you first create the post, the caption style remains. However, if you have not added any text after the caption and then go back to edit the post, the caption style changes to match the paragraph font.
Steps to reproduce the behavior
- Create a new post and add an image to it.
- Edit the image and add a caption.
- Don't add any extra text bellow the image and publish.
- Edit the post and add additional text at the bottom of the post after the caption.
- Publish the post (style will change).
Tested on iPhone X, iOS 12.1.2, Aztec 11.4.1
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 AztecEditor-iOS app using the listed steps on an iOS device, then trace how an image caption is preserved when a post is edited and republished. Done means the caption retains its distinct style after text is added below it, with a regression test covering this sequence.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100