AztecEditor-iOS icon indicating copy to clipboard operation
AztecEditor-iOS copied to clipboard

unable to paste text into native mail app

Open MadeByDouglas opened this issue 6 years ago • 2 comments

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 Screen Shot 2019-12-23 at 1 53 07 PM

aztec iOS simulator Screen Shot 2019-12-23 at 2 07 20 PM

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

Pages Screen Shot 2019-12-23 at 2 00 07 PM

Mail Screen Shot 2019-12-23 at 1 53 31 PM

MadeByDouglas avatar Dec 23 '19 22:12 MadeByDouglas

What happens if you use the option Paste Without Formatting ?

SergioEstevao avatar May 01 '20 10:05 SergioEstevao

like the SHIFT + OPTION (and then CMD + V) for mac? I believe I tried it... but can't remember what happened :/

MadeByDouglas avatar May 11 '20 20:05 MadeByDouglas