wordpress-mobile / wordpress-mobile/WordPress-Android
Link uploaded image to media, and respect image_default_link_type when adding images
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
When inserting an image through the app's editor, it should be possible to "link to media" like in Gutenberg. Also, the setting image_default_link_type from options.php should be respected.
Actual behavior
App only allows to enter a URL manually. image_default_link_type gets ignored.
Tested on [device], Android [version], WPAndroid [version]
Device: Oneplus 9 Pro
Android: 11
WPAndroid: 17.3-rc-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 locating the Android editor's image-insertion flow and the handling of the image_default_link_type option. Compare the available link choices with Gutenberg's "link to media" behavior, then verify that the configured default is respected when adding an image. The payload names no files or tests, so identify the relevant entry points and test coverage before making changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100