-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy-pasting from Notepad does not work #256
Comments
@YoranBrondsema Thanks for reporting this. Can you use this codepen to figure out the exact text/html that is in the clipboard? Please add it as a comment to this issue. Also a screenshot showing the mobiledoc document and the cursor position before you are attempting to paste. |
@bantic From your Codepen, if Copying the URL from the address bar (plain text): Could this be the bug? It may be because of this line in paste-utils.js. If |
@YoranBrondsema Thanks. I'm not sure if this is a bug, exactly, but definitely an oversight. We'll need to update the paste code to handle situations where there is only plaintext available. Thank you for pointing this out. I'll work on this after #249 |
Fix issue #256: Copy-pasting from Notepad does not work
Hi,
We found an issue regarding copy-pasting from an external source. On the demo (https://bustlelabs.github.io/mobiledoc-kit/demo/), I can copy-paste text from the page into the editor. Copying from other pages also works. However, when I try to copy-paste from an external source such as the address bar or Notepad, the paste does not work. I tried on both Firefox and Chrome and the issue arises for both browsers.
The text was updated successfully, but these errors were encountered: