Pasting formatted text into unrelated text field causes "Ghost Image" uploads
See original GitHub issueSummary
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
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:
- Created 3 years ago
- Comments:5
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@rikschennink is anyone working on this bug? I could open a pull request if not.
Should be fixed in 4.19