question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pasting formatted text into unrelated text field causes "Ghost Image" uploads

See original GitHub issue

Summary

First of all: Thank you very much for this great and clean js plugin!

Pasting formatted text from a Word doc into a text field creates “Ghost Images” as png, even if allowPaste: false

image

I am a bit unsure where to address this issue? Do you or anyone have an idea?

How to reproduce

  • having text input or text area on the same page as the uploader
  • copy some text from a word file
  • paste it into a text field or area
  • uploads should appear as in the img above

Expected behaviour

No interaction between paste Text and uploader

Additional information

  • Pasting without formatting by using cmd + option + shift + V all works fine
  • I am using the Uploader Component twice as different refs in a kind of multi step form (not a real <form>)
Environment Version
OS MacOS latest
Device 16" MBP
Browser Chrome latest (almost)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
josuemontanocommented, Jul 16, 2020

@rikschennink is anyone working on this bug? I could open a pull request if not.

0reactions
rikschenninkcommented, Jul 27, 2020

Should be fixed in 4.19

Read more comments on GitHub >

github_iconTop Results From Across the Web

Control the formatting when you paste text - Microsoft Support
Follow these steps to turn it on. Go to File > Options > Advanced. In the Cut, copy, and paste section, select Show...
Read more >
Allow mixed-media pastes (text + images) from clipboard in ...
Pasting images in Jira uploads the image to the issue and inserts a thumbnail into the editor. Pasting text inserts the copied text...
Read more >
Is anyone else experiencing issues with copy/paste in html ...
The issue you are seeing is tied to the defect - 1540432: When copying and pasting formatted text into the HTML editor the...
Read more >
Blackboard Ultra Course View: Add and Format Content
You may copy and paste from a document (such as Word or Google), but this may cause formatting issues including jumbled fonts, odd...
Read more >
Study Setup User Guide - DFNET Research
To add custom text within a table, create a blank field, select the cell, and begin typing. Simple HTML formatting is allowed.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found