wordpress-mobile / wordpress-mobile/AztecEditor-iOS
Editor inserts word "META" when pasting a link
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 669
- Forks
- 153
- Avg merge
- 11h 27m
- Merged PRs (30d)
- 4
Description
Describe the bug
When pasting a link from the clipboard into the Aztec editor, the content includes a "META" word. I could strip it from the content, but I wonder if others experience the same.
To Reproduce
Steps to reproduce the behavior:
- Create a new aztec editor view (or use the "Basic" sample of the sample app)
- Paste a link, e.g. https://google.com
- Observe the result
Expected behavior
The link alone should be inserted
Actual behavior
The link + the word "META" (styled differently) is inserted
Screenshots

Also reproduces in the official sample app:

Smartphone:
- Device: iPhone 11 Pro (others also applicable)
- OS: 13.5, 14.0 Beta 1-6
- Version 1.19.0
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
Reproduce the issue in the Aztec editor or the sample app by pasting a link such as https://google.com. Start by locating the editor's paste-handling entry point; done means a pasted link inserts only the link, without the word "META", on the affected iOS versions.
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
- Mostly clear
- Newbie friendliness
- 35/100