You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In no other context – native macOS inputs or other web inputs in Chrome – does copying nothing (a collapsed selection) actually carry out a copy action, thus emptying the clipboard by overwriting the current value with an empty string. This does, however, happen in my app’s Trix editor.
I do not experience the same behavior with Basecamp’s comment editor, for instance, so I wonder if there’s some configuration I’ve overlooked, or if there’s any special, custom sauce in there to prevent this weirdness?
Steps to Reproduce
Make sure to have something in the clipboard
Focus an empty Trix editor
Copy (Cmd+C)
Paste (Cmd+V)
Details
Trix 0.10.1
Google Chrome 58
macOS Sierra
The text was updated successfully, but these errors were encountered:
Haraldson
changed the title
Copying text from empty Trix editor empties clipboard
Copying nothing (collapsed selection) from Trix editor empties clipboard
Jul 4, 2017
In no other context – native macOS inputs or other web inputs in Chrome – does copying nothing (a collapsed selection) actually carry out a copy action, thus emptying the clipboard by overwriting the current value with an empty string. This does, however, happen in my app’s Trix editor.
I do not experience the same behavior with Basecamp’s comment editor, for instance, so I wonder if there’s some configuration I’ve overlooked, or if there’s any special, custom sauce in there to prevent this weirdness?
Steps to Reproduce
Details
The text was updated successfully, but these errors were encountered: