Add paste detection in text entry area #23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
if (e.keyCode == 86) //86 is Paste event
We should look to wrap pastes in <pre> blocks and then style the <pre> blocks in some way to indicate they're pastes.
We should also probably emit this as a different message type, like 'paste' as opposed to 'say'. Or we'd need some way to delimit the paste within a say, which just seems awful to me.
So if they paste in, but don't modify ... it would be a 'paste' event. If they do modify the text in anyway it would be just a standard 'say' event. I would also assume that we wouldn't want to wrap links in the
yeah, basically a quoted text feature. It makes it a lot more obvious when you're pasting something vs. saying something yourself.