wordpress-mobile / wordpress-mobile/AztecEditor-iOS
unable to paste text into native mail app
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 using Aztec Editor in Mac catalyst app or iOS simulator, want to copy text and then paste into native Mac mail app. However, Mail app refuses to paste, seemingly due to formatting error.
To Reproduce
copy text.
paste text in Mac mail app, it refuses with error sound.
Note: you can paste text in TextEdit, Pages, or Spark email client
Note: when running Aztec on actual iOS device, you can paste into iOS mail app. However, the font size and type is not what one would expect, it pastes at times new roman at a smaller than default size (iOS mail doesn't show sizes) Further, when that pasted text is saved via handoff / iCloud to the Mac, it still will not paste in the Mac mail app. When pasted to iOS pages, it appears as 14pt Helvetica.
Expected behavior
Mail should be able to receive the text from the clipboard from aztec.
Screenshots
This is an app to show everything that goes in the clipboard. I just have screenshots showing the different data that gets saved. I can add more data from each tab if its relevant, so far haven't seen anything stand out other than I notice aztec doesn't seem to have a utf16 being saved and it saves p tag in the public html as where apple mail uses a div.
aztec Mac catalyst

aztec iOS simulator

to compare, here is copied text from Pages and Apple mail
Pages

Mail

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 clipboard behavior from Aztec Editor in the Mac Catalyst app or iOS simulator, then compare its saved representations with the Pages and Apple Mail examples in the issue. Focus first on the reported differences in UTF-16 data, public HTML, and p versus div markup; done means copied text can be pasted into Mac Mail with expected formatting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, ios, swift
- Domain
- desktop, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100