Commit graph

21 commits

Author SHA1 Message Date
Scott Nonnenberg
5ccb3af040
onCapturePaste: stop propagation in more scenarios 2023-10-18 14:35:06 -07:00
Scott Nonnenberg
c2ad69951f Eliminate extra newlines when pasting composer text back into composer 2023-08-21 09:30:32 -07:00
Scott Nonnenberg
e3ffc70389
Apply existing formatting to pasted content, preserve whitespace 2023-08-04 09:29:47 -07:00
Scott Nonnenberg
3f399b1329 getStringFromNode: Add parent/nextSibling for fewer newlines 2023-07-19 16:21:31 -07:00
Scott Nonnenberg
adc8513f41
Implement cut/copy correctly for input/textarea elements 2023-06-06 12:06:58 -07:00
Scott Nonnenberg
9c325ea724
Fix cut/copy and paste from composer 2023-05-31 11:10:02 -07:00
Scott Nonnenberg
cc233fb980
Support clipboards with text/plain as well as file contents 2023-05-26 15:07:32 -07:00
Scott Nonnenberg
a31cf5645e
Better handling of formatting in pasted text 2023-05-23 15:00:05 -07:00
Scott Nonnenberg
afae6bc267
CompositionInput: Properly set cursor right after pasted data 2023-05-22 13:31:36 -07:00
Scott Nonnenberg
4404429ec2
Fix paste of images when focus is in the composer 2023-05-18 12:53:36 -07:00
Scott Nonnenberg
f42192fb5a
Improve paste handling of formatted data 2023-05-17 09:58:32 -07:00
Scott Nonnenberg
995b207b48
Better handle newlines in content pasted into composer 2023-05-11 12:48:34 -07:00
Scott Nonnenberg
2177a79080
Formatting: A few more changes 2023-05-09 18:23:56 -07:00
Scott Nonnenberg
b4caf67bf9
Allow copy/paste of formatting and mentions 2023-05-09 17:40:19 -07:00
lamemakes
038f676b93 Added falsy check for ops 2023-03-06 12:10:22 -05:00
lamemakes
909daa4dc2 Fixed empty copying overwriting clipboard 2023-03-03 09:16:59 -05:00
Jamie Kyle
0086216c9d
Add eqeqeq rule but require == for null 2022-09-14 14:40:44 -07:00
Evan Hahn
74fde10ff5
Prefer import type when importing types 2021-10-26 14:15:33 -05:00
Sidney Keese
4d09b71972
Composition: Only try to convert html from text/signal 2020-11-19 09:38:25 -08:00
Sidney Keese
7af2284c6b
Composition area: Only paste HTML that originated in Signal
Co-authored-by: Chris Svenningsen <chris@carbonfive.com>
2020-11-11 17:01:45 -08:00
Sidney Keese
91beef7797
Improve emoji blot and override clipboard behavior 2020-11-06 12:11:18 -08:00