Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clipboard content is logged when pasting text into note body when using Rich Text Editor #11866

Open
mrjo118 opened this issue Feb 20, 2025 · 5 comments
Labels
bug It's a bug

Comments

@mrjo118
Copy link
Contributor

mrjo118 commented Feb 20, 2025

Operating system

Windows

Joplin version

3.2.12

Desktop version info

No response

Current behaviour

-Enable the Rich Text Editor
-Copy some text to the clipboard
-Paste the text into a note
-The entire text pasted is written to the log file

Expected behaviour

Content pasted from the clipboard should not be written to the log, as this is a privacy issue when sharing log files. When using the markdown editor, currently no such logging occurs

Logs

2025-02-20 10:40:48: shouldPasteResources: Pasted text: Joplin is a free, open source note taking and to-do application, which helps you write and organise your notes, and synchronise them between your devices. The notes are searchable, can be copied, tagged and modified either from the application directly or from your own text editor. The notes are in Markdown format. Joplin is available as a desktop, mobile and terminal application.
2025-02-20 10:40:48: shouldPasteResources: Pasted HTML:
2025-02-20 10:40:48: shouldPasteResources: Resources: []
2025-02-20 10:40:48: shouldPasteResources: Not pasting resources only because the clipboard contains plain text
2025-02-20 10:40:48: TinyMCE: onPaste: pasting as text

@mrjo118 mrjo118 added the bug It's a bug label Feb 20, 2025
@personalizedrefrigerator
Copy link
Collaborator

I'm linking to the related code:

.

@laurent22
Copy link
Owner

This is by design so that we can help users troubleshoot issues related to pasting text (it's often hard to know what happens exactly when something is pasted). Maybe we could crop the pasted text to reduce privacy issues.

@mrjo118
Copy link
Contributor Author

mrjo118 commented Feb 20, 2025

This is by design so that we can help users troubleshoot issues related to pasting text (it's often hard to know what happens exactly when something is pasted). Maybe we could crop the pasted text to reduce privacy issues.

Yes, if you must log the pasted contents then it should be trimmed to just a small snippet, as people can paste entire note contents when doing note reorganisation

Repository owner deleted a comment from Paramesh-T-S Feb 21, 2025
@Paramesh-T-S

This comment has been minimized.

@laurent22

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug
Projects
None yet
Development

No branches or pull requests

4 participants