-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows platforms, erratic pasting of text into Markdown field (#15794)
* Windows platforms, erratic pasting of text into Markdown field Due to different line ending in windows display and data got corrupted. Fixed by correcting paste handling of text in packages/cells/src/widgets.ts fixes: #14752 * Code formatting corrected. * Changed string delimiter. * Added carriage return replacement for pasteing on osx. * adjusted formating of code * Add a test for replacing line endings on paste Co-authored-by: Kilian Singer <kilian.singer@quantumtechnology.info> * Add mocks for `ClipboardEvent` and `DataTransfer` --------- Co-authored-by: krassowski <5832902+krassowski@users.noreply.github.com>
- Loading branch information
1 parent
b689a68
commit bb8a4ed
Showing
3 changed files
with
100 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters