wordpress-mobile / wordpress-mobile/AztecEditor-iOS

Embeds do not work if there is additional content

Open
#300 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When a post has a embed-supported url with additional content, the embed does not show.

Post with only embed url: https://dubkwon.wordpress.com/2017/02/20/testios/

Post with embed url + additional content: https://dubkwon.wordpress.com/2017/02/20/testungff/

This worked on the previous editor

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

Reproduce the two linked posts in the AztecEditor-iOS editor, comparing the embed-only case with the embed URL followed by additional content. Trace the embed handling and HTML parsing entry points, then verify that supported embeds still appear when other post content follows them and that the existing embed-only behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, swift
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.