Editor inserts word "META" when pasting a link

Open
#1,302 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
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
swift
Domain
mobile

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.

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:

  1. Create a new aztec editor view (or use the "Basic" sample of the sample app)
  2. Paste a link, e.g. https://google.com
  3. 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:
Bildschirmfoto 2020-08-30 um 17 00 46

Smartphone:

  • Device: iPhone 11 Pro (others also applicable)
  • OS: 13.5, 14.0 Beta 1-6
  • Version 1.19.0
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.