The hits just keep coming! Pasting throws an exception
-
Looks like uploads.js, Line 157
function f(e) { $(window) .off('paste') .on('paste', function (t) { var r = (t.clipboardData || t.originalEvent.clipboardData || { }) .items;
TypeError: can't convert undefined to object
Pasting still occurs, but I assume there's logic after that point that is supposed to happen?
-
@lorne-kates can you paste in images? Might be the bit that uploads a copy?
-
@jaloopa said in The hits just keep coming! Pasting throws an exception:
@lorne-kates can you paste in images? Might be the bit that uploads a copy?
Can you paste in Ben's question, or the Ninja'd emoji?
-
@lorne-kates can you paste there being no question from Ben in this thread and me not being a mind reader?
-
@jaloopa said in The hits just keep coming! Pasting throws an exception:
@lorne-kates can you paste there being no question from Ben in this thread and me not being a mind reader?
Can you paste there being a question from Ben in a different bug report that asks that question because I've had to file so many fucking NodeBB bugs today and one is image uploading?
-
@lorne-kates WOMM. Try Chrome.
-
@pie_flavor said in The hits just keep coming! Pasting throws an exception:
Try Chrome.
You're not helping.
-
@jbert Neither is firefox.
-
@pie_flavor said in The hits just keep coming! Pasting throws an exception:
@jbert Neither is firefox.
I can paste images directly into Twitter. It's NodeBB.
-
@lorne-kates I can paste images directly into NodeBB. It's Firefox.
-
@pie_flavor I can paste images directly into NodeBB in Firefox.
Although, copying an image file and pasting into the composer isn't working: it produces nothing. No error, though; just nothing. I can't get the error that he's seeing. Pasting text works, and pasting raw image data works.
-
@anotherusername said in The hits just keep coming! Pasting throws an exception:
@pie_flavor I can paste images directly into NodeBB in Firefox.
Then it must be because @Lorne-Kates is using some crazily outdated version of Firefox.
Edit:
-
@anotherusername try pasting without having the editor focused (or open).
-
@ben_lubar said in The hits just keep coming! Pasting throws an exception:
@anotherusername try pasting without having the editor focused (or open).
why would someone do that?
-
@lorne-kates said in The hits just keep coming! Pasting throws an exception:
@ben_lubar said in The hits just keep coming! Pasting throws an exception:
@anotherusername try pasting without having the editor focused (or open).
why would someone do that?
Maybe they wanted to start a new topic in Bugs?